[Issue 7393] Which character code does wchar be, UTF-16BE or UTF-16LE?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 28 12:17:18 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2012-01-28 12:17:16 PST ---
(In reply to comment #2)
> IMO, The simple way is adding following two rowsinto 'Basic Types' table in
> http://www.d-programming-language.org/abi.html:
> wchar 16 bit unsigned value (same as ushort)
> dchar 32 bit unsigned value (same as uint)
They are already described in type.html.
I don't think it is necessary to say if they are BE or LE, any more than saying
for a uint which order the bytes come in. The least significant bytes are
grabbed with w&0xFF, the most significant with w>>8.
--
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