D and Unicode(UTF16) strings
    Vincent Richomme 
    forumer at smartmobili.com
       
    Thu Jul 24 17:11:25 PDT 2008
    
    
  
Hi,
would it be possible to add a type wstring that could represent a UTF16 
string. Actually on Windows platform you can compile in ANSI or UNICODE 
and you have the standard char* as well as a wchar_t*.
I saw that in D string is an alias for char[], would it be possible to 
do the same for wchar[] and define a wstring in core language ?
That would allow to declare an alias like this :
Version(Unicode)
{
  alias wstring tstring
}
else
{
alias string tstring
}
    
    
More information about the Digitalmars-d
mailing list