Re: how can i write a hello world in chinese with python

2006-12-16 Thread kernel1983
thanks everyone maybe this simple API doesn't fit the Chinese display but thanks everybody! At least I've got that what bundles is and maybe I can use Python to write program On 12月14日, 上午6时31分, "MRAB" <[EMAIL PROTECTED]> wrote: > Dennis Lee Bieber wrote: > > On 12 Dec 2006 23:40:41 -0800, "kerne

Re: how can i write a hello world in chinese with python

2006-12-13 Thread MRAB
Dennis Lee Bieber wrote: > On 12 Dec 2006 23:40:41 -0800, "kernel1983" <[EMAIL PROTECTED]> > declaimed the following in gmane.comp.python.general: > > > and I tried unicode and utf-8 > > I tried to both use unicode&utf-8 head just like "\xEF\xBB\xBF" and not > > to use > > > "unicode" is a t

Re: how can i write a hello world in chinese with python

2006-12-13 Thread Kevin Walzer
kernel1983 wrote: > I'm try to build a bundle on OS X, so I write a simple python script > for a test: > > #!/usr/bin/env python > import EasyDialogs > EasyDialogs.Message("Hello,Mac!") > > > This runs OK,but when I try to replace "Hello,Mac!" with chinese, it > can't be display rightly. > Then

Re: how can i write a hello world in chinese with python

2006-12-13 Thread John Machin
Leo Kislov wrote: > 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 fi

Re: how can i write a hello world in chinese with python

2006-12-13 Thread Leo Kislov
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 t

Re: how can i write a hello world in chinese with python

2006-12-12 Thread kernel1983
and I tried unicode and utf-8 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?! On 12月13日, 下午12时47分, "bearsprite" <[EMAIL PROTECTED]> wrote: > try unicode? > > "kern

Re: how can i write a hello world in chinese with python

2006-12-12 Thread bearsprite
try unicode? "kernel1983 写道: " > I'm try to build a bundle on OS X, so I write a simple python script > for a test: > > #!/usr/bin/env python > import EasyDialogs > EasyDialogs.Message("Hello,Mac!") > > > This runs OK,but when I try to replace "Hello,Mac!" with chinese, it > can't be display right

how can i write a hello world in chinese with python

2006-12-12 Thread kernel1983
I'm try to build a bundle on OS X, so I write a simple python script for a test: #!/usr/bin/env python import EasyDialogs EasyDialogs.Message("Hello,Mac!") This runs OK,but when I try to replace "Hello,Mac!" with chinese, it can't be display rightly. Then I tried some way else: #!/usr/bin/env p