http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #1 from SHOO 2012-01-28 09:43:30 PST ---
The current implementation is system-dependent.
In addition, via specifications of the C language, it becomes clear that wchar
is equal with wchar_t(2byte).
http://www.d-programming-language
http://d.puremagic.com/issues/show_bug.cgi?id=7393
Kenji Hara changed:
What|Removed |Added
Keywords||diagnostic
--- Comment #2 from Kenji Hara
http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #3 from Walter Bright 2012-01-28
10:51:04 PST ---
C does not specify the size of wchar_t. On Windows, wchar_t is 2 bytes, but on
Linux it is 4.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
---
http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #4 from Kenji Hara 2012-01-28 11:20:13 PST ---
(In reply to comment #3)
> C does not specify the size of wchar_t. On Windows, wchar_t is 2 bytes, but on
> Linux it is 4.
Yes, I know, and he knows it.
The original question is "Does
http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #5 from Walter Bright 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
/999ef822efdca31c6983ea89805b178526c53c3d
fix Issue 7393 - Which character code does wchar be, UTF-16BE or UTF-16LE?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
/a48c43c9e3b7dc57092c1a72c1e019c46178f11b
fix Issue 7393 - Which character code does wchar be, UTF-16BE or UTF-16LE?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7393
--- Comment #8 from Walter Bright 2012-01-28
12:43:42 PST ---
Ignore, those fixes are meant for 4371.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7393
monarchdo...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|