Previous 199869 Revisions Next

r186232 Saturday 9th April, 2022 at 16:48:27 UTC by 987123879113
osd: Added multibyte check to osd_uchar_from_osdchar to fix decoding ASCII text. (#9536)

This allows ASCII INI files to be parsed on Windows systems set to use a double-byte code page.  It should also work with correctly-encoded Shift-JIS, GB2312, Big5 and EUC-KR.  It won’t work for more complex variable-length encodings, or when the input is not correctly encoded.
[/branches/pc88cd/src/osd]strconv.cpp


Previous 199869 Revisions Next


© 1997-2024 The MAME Team