all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: 21003@debbugs.gnu.org
Subject: bug#21003: 24.5; IPython Inferior unicode issue
Date: Tue, 07 Jul 2015 18:54:00 +0200	[thread overview]
Message-ID: <559C0428.3090903@easy-emacs.de> (raw)
In-Reply-To: <m2fv50uiwu.fsf@mIni.local.i-did-not-set--mail-host-address--so-tickle-me>


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?





  reply	other threads:[~2015-07-07 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 14:44 bug#21003: 24.5; IPython Inferior unicode issue Semio
2015-07-07 16:54 ` Andreas Röhler [this message]
2015-08-12  1:52 ` Fabián Ezequiel Gallina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559C0428.3090903@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=21003@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.