[Issue 10125] readln!dchar misdecodes Unicode non-BMP
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 4 23:59:46 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10125
--- Comment #3 from github-bugzilla at puremagic.com 2013-08-04 23:59:44 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/8f401a9199b441f941717cda5ab551c4e1a86a40
fix Issue 10125 Unicode non-BMP decoding to dchar in stdio readln
strings were first decoded to wchars, each wchar was then separately
decoded to dchar, resulting in 2 dchars in the surrogate block instead
of 1 correct dchar.
added unit test to verify readln decoding of non-ASCII characters
https://github.com/D-Programming-Language/phobos/commit/1086f2955418a4effd7e815d906460e1b137eb2d
Merge pull request #1296 from M-frankied/readln-nonbmp
fix Issue 10125 Unicode non-BMP decoding to dchar in stdio readln
Merged.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list