Encoding ISO-8859-11 on Windows
Julian Smart
julian at anthemion.co.uk
Sat Sep 2 02:14:24 PDT 2006
When using an encoding of ISO-8859-11 on Windows XP, wxWidgets tries to
map it to code page 28601 in src/msw/utils.cpp.
But this code fails to find a valid code page:
if (::IsValidCodePage(ret) == 0)
return -1;
This is in src/msw/utils.cpp, function wxEncodingToCodepage.
On the other hand this page:
http://en.wikipedia.org/wiki/ISO_8859-11
thinks that the code page should be 874. Any reason not to change the
mapping to 874, given that CP 28601 appears not to exist?
Thanks,
Julian
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
More information about the wx-dev
mailing list