how can i write a hello world in chinese with python

Leo Kislov Leo.Kislov at gmail.com
Wed Dec 13 03:54:40 EST 2006


kernel1983 wrote:
> and I tried unicode and utf-8

How did you try unicode? Like this? :

EasyDialogs.Message(u'\u4e2d')

> I tried to both use unicode&utf-8 head just like "\xEF\xBB\xBF" and not
> to use
>
> Anyone knows about the setting in the python code file?
> Maybe python doesn't know I'm to use chinese?!

It depends on how EasyDialogs works. And by the way, when you say utf-8
encoded text is not displayed correctly, what do you actually see on
the screen?

  -- Leo




More information about the Python-list mailing list