ImageFont family mojibake

Lie Ryan lie.1296 at
Sun Sep 13 09:19:19 CEST 2009

Donn wrote:
> On Saturday 12 September 2009 17:30:19 garabik-
> news-2005-05 at wrote:
>> apt-get install unicode
>> unicode 0100..
> Nice tip, thanks.
>> if you see a lot of accented letters (and not squares or question marks), 
>> you can be sure
> I see the accented chars -- so now I am more certain that the problem is in 
> the function. Something deep in the C code...
> \d

Try testing with some of the supported encodings like:


try some of these encodings:

The brute force should work if the font's name is encoded in one of the 
supported codecs; and if wx does not do something like 

More information about the Python-list mailing list