![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Localize Wx application - encoding problemby ph0enix (Friar) |
on Aug 01, 2007 at 15:55 UTC ( #630096=perlquestion: print w/replies, xml ) | Need Help?? |
ph0enix has asked for the wisdom of the Perl Monks concerning the following question: Dear PerlMonks,
The file data/locale/evidence.po contain UTF-8 encoded translated texts and UTF-8 is correctly specified as charset in Content-Type:
but almost all accented letters are malformed. It looks like internal processing somewhere in (or behind) Wx::Locale convert all texts to Windows encoding and set the utf8 flag on... Can somebody help me? I don't know what is going wrong. Maybe I'm using Wx::Locale in completely wrong way? As a workaround I've wrote a wrapper routine, but it seems to me that there can be also bug in Encode module, because some chars are not converted properly (e.g. small letter c with caron - which I'm trying to fix with regexp later). Wrapper routine code is
Back to
Seekers of Perl Wisdom
|
|