[wxPython-users] wxPython and Unicode and widgets

Christopher Barker Chris.Barker at noaa.gov
Fri Dec 21 09:59:08 PST 2007


Andrea Gavana wrote:
> - It is very difficult (impossible?) to setup an encoding which will
> support *all* the possible characters in the known world languages. I
> used utf-8 for GUI2Exe but I remember I read it could fail anyway in
> some occasions (but my memory could fail here);

I'm curious, because that's certainly the goal of Unicode, and utf-8 is 
supposed to support it. Besides, where could data come from that can't 
be encoded as utf-8?

There is a Python issue that still confuses me. Internally, Python can 
use either UCS-16 or UCS-32, depending on how it is compiled. It's my 
understanding the UCS-16 can hold most, but not all of the codepoints, 
so what happens when you try to use one that it can't hold?

And what does wx use internally in Unicode builds?

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list