How to emit Cyrillic and Chinese via unicode from console mode?
"Martin v. Löwis"
martin at v.loewis.de
Sun Sep 14 13:56:05 EDT 2008
> Can someone point me to an example of a little program that emits non-ascii
> Unicode characters (Russian or Chinese perhaps)? The unicode
> Russian/Cyrillic alphabet starts at 0x410. Is this possible to do in a
> console mode program? If not, I guess I would want to use pywin32 to create
> a window and a message pump and display it there. I anticipate using pywin32
> for some other function calls.
It also depends on your console. On Linux, with an UTF-8
py> print u"\u0413"
work just fine.
More information about the Python-list