This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients LeslieK, terry.reedy, vstinner
Date 2014-04-11.17:43:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397238203.35.0.38139538478.issue21164@psf.upfronthosting.co.za>
In-reply-to
Content
You can change the code page of a Command Prompt window, before calling Python, with ...> chcp <code-page>. There is 'something' called cp65001 that is supposed to be a utf-8 codepage. Once can change to it, but it does not work right. This has been discussed on StackOverflow and elsewhere.

The Idle Shell, running on tkinter, handles everything in the BMP because tcl/tk is unicode (ucs-2) based. The characters that display properly depend on the font you select. On my machine, all but three of the following arbitrary codepoints display proper characters.
>>> print('\u1111\u2222\u3333\u4444\u5555\u6666\u7777\u8888\u9999\uaaaa\ubbbb\ucccc\udddd\ueeee')
ᄑ∢㌳䑄啕晦睷袈香ꪪ뮻쳌�
History
Date User Action Args
2014-04-11 17:43:23terry.reedysetrecipients: + terry.reedy, vstinner, LeslieK
2014-04-11 17:43:23terry.reedysetmessageid: <1397238203.35.0.38139538478.issue21164@psf.upfronthosting.co.za>
2014-04-11 17:43:23terry.reedylinkissue21164 messages
2014-04-11 17:43:22terry.reedycreate