Opened on May 10, 2016 at 7:50:30 AM
Last modified on Feb 13, 2018 at 1:52:29 PM
#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 )
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.
