Opened 9 years ago
Last modified 7 years ago
#3230 closed Bug
_WideCharToMultiByte fails with double-byte codepages — at Version 1
Reported by: | jchd18 | Owned by: | |
---|---|---|---|
Milestone: | 3.3.14.3 | Component: | Standard UDFs |
Version: | 3.3.14.0 | Severity: | None |
Keywords: | Cc: |
Description (last modified by jchd18)
The structure in _WideCharToMultiByte (WinAPI.AU3) needs to use the byte type instead of char, else the result is wrong when the user is requesting output in double-byte codepage (Korean, Japanese, and several other Asian codepages) AND the current default system codepage is also double-byte.
Follows from thread https://www.autoitscript.com/forum/topic/182255-unicode-stringtobinary-for-unsupported-language/?page=1 where both working and failing examples are available.
Note: See
TracTickets for help on using
tickets.