|
From: | Andreas Röhler |
Subject: | bug#21003: 24.5; IPython Inferior unicode issue |
Date: | Tue, 07 Jul 2015 18:54:00 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |