qtconsole icon indicating copy to clipboard operation
qtconsole copied to clipboard

jupyter qtconsole runs in wrong code page

Open milesxu opened this issue 8 years ago • 2 comments

I recently found that jupyter qtconsole runs in wrong code page. The operating system I use is Windows 64 bit, and I use the newest anacoda. My default code page is 936, but when I start up jupyter qtconsole by the shortcut in start menu, the result of !chcp is always 437, and all Chinese characters become "?". If I open a CMD window and then run jupyter qtconsole within it, then everything is ok. Can anyone help me?

milesxu avatar Dec 27 '16 16:12 milesxu

I don't know what we can do about this; it's not something we set, it's up to Windows how it starts the application. Any data generated in Python should be unicode, so it shouldn't be affected by the active code page, but subprocesses are still affected.

takluyver avatar Dec 28 '16 18:12 takluyver

Thank for the reply! Then I have to keep trying to modify system configurations.

milesxu avatar Dec 29 '16 01:12 milesxu