www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - char16_t and char32_t

In the following pages (which have differing file naming patterns for
whatever reason!):

http://dlang.org/interfaceToC.html
http://dlang.org/cpp_interface

I would suggest to add the info that wchar is compatible with the
char16_t and dchar with char32_t of C11. See:

http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29#Changes_from_C99

Currently wchar and dchar are marked as being compatible with wchar_t
depending on the sizeof(wchar_t). That's true, but I guess
char{16,32}_t provide a stable mapping.

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா
श्रीरमणशर्मा
Nov 01 2014