[Bug 39297] kernel32.IsValidCodePage and friends don't support code page 708.
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Sep 23 18:43:42 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=39297
--- Comment #19 from Hin-Tak Leung <htl10 at users.sourceforge.net> ---
(In reply to Nikolay Sivov from comment #14)
> That one maybe https://msdn.microsoft.com/en-us/library/cc195061.aspx ?
> Chars below 0x20 are mapped directly presumably.
That chart seems to be wrong or outdated. In modern windows, code point 243 -
248 are definitely used, AFAIK. See the attached table to this bug.
On real windows, you can probably write a little program to dump the mapping
table for code page 708, by doing something like this:
------------------------------------------
char inputbuf[1];
wchar_t outputbuf[1];
UINT CodePage = 708 ;
for (ushort c = 0; c<256; c++)
{
inputbuf[0] = (char)c;
if (MultiByteToWideChar(CodePage, MB_ERR_INVALID_CHARS, inputbuf, 1, outputbuf,
1) != 0)
{
// dump c and outputbuf[0] in two columns
}
}
-----------------------------------------
and hopefully it should result in something identical to what I attached.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list