From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#21003: 24.5; IPython Inferior unicode issue Date: Tue, 07 Jul 2015 18:54:00 +0200 Message-ID: <559C0428.3090903@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1436288123 3951 80.91.229.3 (7 Jul 2015 16:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2015 16:55:23 +0000 (UTC) To: 21003@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 18:55:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZCW9G-0005k1-Fg for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jul 2015 18:55:10 +0200 Original-Received: from localhost ([::1]:59516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW9F-0000Ca-TN for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jul 2015 12:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW9C-0000Bf-SX for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCW98-0000eK-Pc for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:55:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW98-0000e7-Me for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZCW98-0006W4-GM for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jul 2015 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143628807525012 (code B ref -1); Tue, 07 Jul 2015 16:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jul 2015 16:54:35 +0000 Original-Received: from localhost ([127.0.0.1]:43644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCW8h-0006VM-D2 for submit@debbugs.gnu.org; Tue, 07 Jul 2015 12:54:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCW8f-0006V7-Jb for submit@debbugs.gnu.org; Tue, 07 Jul 2015 12:54:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCW8Z-0008Pt-B2 for submit@debbugs.gnu.org; Tue, 07 Jul 2015 12:54:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW8Z-0008Pp-7d for submit@debbugs.gnu.org; Tue, 07 Jul 2015 12:54:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW8Y-00008G-8B for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:54:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCW8Q-0008OE-Fd for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:54:26 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:54992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCW8Q-0008Nm-6x for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2015 12:54:18 -0400 Original-Received: from [192.168.178.31] ([77.12.103.234]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0Mep3o-1ZNbxs0nEm-00OEFZ for ; Tue, 07 Jul 2015 18:54:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: X-Provags-ID: V03:K0:/hgtbshIzWY34DNqp16cVZHq1uxIhIoWdaveQbJ2CCcbp3FzhHD JHwgb0xknyc98lSKJyZKkdac2udKd4s6wgL9pIOxiY3JsJV0ZM64Gq4BOpiXjkjEtLts25C 9ASJ9lbeJvFEQYD/9ut6IfNsLtT/1zGv0fQPRtRhkTCSaQ+W1Bd89PS+lwhVtOW5M74+QOd ay/jD6Z7X6rnO16x7Gqww== X-UI-Out-Filterresults: notjunk:1;V01:K0:nIjPHTYP0lg=:oxuRQdEt9ZugMtowDhkbrZ Aorua8YlBV0WK2O7m6Bl1LdMNa9sg8ywD+qMvLqD0MMXclE2nVNIFiJByUWlPAb/Z3QYhqRKL 2FIDHVEfOdeC2yVLthpLB8uR/c25cFQkfab8KST6YwU7eecU//GWs5KnVjnyYvYNw7AwauAbb krpFvI2q7ETE+SESzD6VkoouR0b161mMtZGkoeXXuunJb825Grgn/QGU+5eYo8k9VKBQgaNdr qwt+bt5dWzo73uWMaYNCpMt2DfTZ9lXIIv+7SaHiM0UrFq8RPpAzX0XttpHJKPKwPNW8ClD5+ caAZW3gsZeF+EbnI9N2Y/3Ru1xQic2Vo7WkveYYCfx5AVRSgCAWCUMMFLBB9UMvuyWYn1Tn1W GzRfZn8DOL7NTmSdBhxo78WI2ehczoFtNlI2pN5Zvmt6CHCJhIYdESh27jT6i0wUv8QrgWaV8 wWWzC3S/HVd3x67o0fPOvTrAItKHiPtnQWJdY6TCkxDyXCzVtAhK13D+irgv2psp5oR5Xd1E3 H8uJ4S2t+qMjlkq2NVG+tH8oIQa5NRCKrXyod77NRPxSIvbkXNH1MMTehUU0pTS0prSrYKGOO B/lP9dkuLAQqokRpwwUHhMp0iInBPNi6YSNqK+4Jetqehp2BwUBTjys55ig5UlP/Edmf5TsIj qCBNYrNOhFv3h6+6uQ9om8jTL8Nw9oD+J6f0Zbjqk1liSSSnnSaqrJGNQqW8XWV5PB2IOs4I2 zbzyFg6BMT08++teAgdxMDYe5y2kuz7p20HifEy9zB2XayYqZwBRdoLInIo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104805 Archived-At: Am 07.07.2015 um 16:44 schrieb Semio: > 1. open a .py file or enable python mode > 2. run the interactive shell with ```M-x python-shell-switch-to-shell``` > 3. use ipython(/usr/local/bin/ipython -i) for the inferior python. > 4. in the inferior python buffer, eval a string contains unicode chars, > for example: > >> In [19]: u'测试' # Chinese char >> Out[20]: u'\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd'=20 >> Maybe print(u'测试') is correct?