[Issue 10125] New: readln!dchar misdecodes Unicode non-BMP
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 20 05:26:15 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10125
Summary: readln!dchar misdecodes Unicode non-BMP
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: fw..vdijk at gmail.com
--- Comment #0 from fw..vdijk at gmail.com 2013-05-20 05:26:14 PDT ---
readln!dchar decodes Unicode code point >U+FFFF to 2 surrogates instead of 1
dchar containing the code point.
e.g. U+10001 becomes [0xd800,0xdc01] instead of [0x10001]
--
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