Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007854OCamlplatform support (windows, cross-compilation, etc)public2018-09-24 15:142018-09-24 15:26
Assigned Tonojebar 
PlatformWindows MSVCOSWindows MSVCOS VersionWindows 10
Product Version 
Target VersionFixed in Version 
Summary0007854: win_multi_byte_to_wide_char should use CP_ACP instead of CP_THREAD_ACP
DescriptionI believe that, for the intended backward-compatibility purpose, CP_ACP is more appropriate than CP_THREAD_ACP. The former (System active code page) is the one used by the ANSI version of the Windows API functions. I think the latter is more related to user language settings.
Steps To ReproduceDifference between CP_THREAD_ACP and CP_ACP was observed on a japanese Windows 10 host (shift_js) with french as use language setting.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
nojebar (developer)
2018-09-24 15:19

Indeed, this looks like a bug. Some more information here: [^]
nojebar (developer)
2018-09-24 15:26 [^]

- Issue History
Date Modified Username Field Change
2018-09-24 15:14 turpin New Issue
2018-09-24 15:19 nojebar Note Added: 0019385
2018-09-24 15:19 nojebar Assigned To => nojebar
2018-09-24 15:19 nojebar Status new => acknowledged
2018-09-24 15:26 nojebar Note Added: 0019386

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker