Wide characters support in D

Walter Bright newshound1 at digitalmars.com
Tue Jun 8 09:36:31 PDT 2010


Ruslan Nikolaev wrote:
> No. From the very beginning I said "it would also be nice to have some
> builtin function for conversion to dchar". That means it would be nice to
> have function that converts from tchar (regardless of its width) to UTF-32.
> The reason was always clear - you normally don't need UTF-32 chars/strings
> but for some character analysis you might need them.

http://www.digitalmars.com/d/2.0/phobos/std_utf.html

Function overloading takes care of selecting the right version.


More information about the Digitalmars-d mailing list