Thread overview | |||||
---|---|---|---|---|---|
|
October 12, 2013 [Issue 11232] New: Windows sysErrorString only supports ASCII | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11232 Summary: Windows sysErrorString only supports ASCII Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: jakobovrum@gmail.com --- Comment #0 from Jakob Ovrum <jakobovrum@gmail.com> 2013-10-12 01:57:45 PDT --- `std.windows.syserror.sysErrorString` uses `FormatMessageA` when it should be using `FormatMessageW`. This results in the infamous question marks when the text is in a non-English language; for some combinations of language and error message, the entire text is composed of nothing but question marks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 15, 2013 [Issue 11232] Windows sysErrorString only supports ASCII | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jakob Ovrum | http://d.puremagic.com/issues/show_bug.cgi?id=11232 --- Comment #1 from github-bugzilla@puremagic.com 2013-10-15 16:52:52 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/b97b4e96202ba7fec103ece3993f3b8e86faf7d3 fix issue 11232 - rewritten std.windows.syserror.sysErrorString Fixed for Unicode-correctness; now works on non-English Windows systems. Added unit test. Throws an Exception if the given error code or language combination was invalid. https://github.com/D-Programming-Language/phobos/commit/a2fea332ed7f86130942487614152aa3ed91f1c4 Merge pull request #1634 from JakobOvrum/syserrorstring fix issue 11232 - rewritten std.windows.syserror.sysErrorString -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 15, 2013 [Issue 11232] Windows sysErrorString only supports ASCII | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jakob Ovrum | http://d.puremagic.com/issues/show_bug.cgi?id=11232 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation