Opened 9 years ago
Last modified 7 years ago
#3230 closed Bug
_WideCharToMultiByte fails with double-byte codepages — at Initial Version
Reported by: | jchd18 | Owned by: | |
---|---|---|---|
Milestone: | 3.3.14.3 | Component: | Standard UDFs |
Version: | 3.3.14.0 | Severity: | None |
Keywords: | Cc: |
Description
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).
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.