[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Can any one help me on how to render non_ascii(unicode) chars on pygame screen?



Quoting Marcel Rodrigues <marcelgmr@xxxxxxxxx>:

> 2008/4/24, Lenard Lindstrom <len-l@xxxxxxxxx>:
> >
> > This displays some unicode characters on the title bar for me:
> >
> 
> This code don't works here. The caracters in the title bar are different
> from the caracters inside the window. Now, instead of "?" caracters, I've
> got thinks like "?" and other strange characters. And I've got 9 characters
> in the title bar, instead of the 3 characters in the code.
> Still don't know how to fix it.
> Thanks for the help, anyway.
> 
>   Marcel
> 
I suspect that even with XP the unicode settings can differ from installation 
to installation. utf-8 worked for me. Maybe your's has utf-16.

-- 
Lenard Lindstrom
<len_l@xxxxxxxxx>