Donn wrote:
On Saturday 12 September 2009 17:30:19 garabik-
news-2005...@kassiopeia.juls.savba.sk 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 font.family function. Something deep in the C code...
\d
Try testing with some of the supported encodings like:
print f.font.family.decode('utf-8')
try some of these encodings:
http://docs.python.org/library/codecs.html#standard-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
f.[en|de]code(errors='replace').
--
http://mail.python.org/mailman/listinfo/python-list