[wx-dev] Encoding ISO-8859-11 on Windows
Robert Roebling
robert at roebling.de
Sat Sep 2 02:26:51 PDT 2006
Julian Smart wrote:
> 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?
No, the change seems to be correct.
Robert
More information about the wx-dev
mailing list