Strongly recommend the D language to support new feature of “compile time char type identification”
Vladimir Panteleev
thecybershadow at gmail.com
Thu Oct 25 05:56:43 PDT 2007
On Thu, 25 Oct 2007 14:36:09 +0300, Yigal Chripun <yigal100 at gmail.com> wrote:
> Forrest wrote:
>> Strongly recommend the D language to support new feature of “compile time char type identification”
>
> You got it wrong. D uses only UTF (don't forget that ASCII is a subset
> of UTF-8). the different char types are different UTF encodings:
> char = utf-8
> wchar = utf-16
> dchar = utf-32
> If you use a modern OS that supports Unicode than you can pass arguments
> in what ever language you want - even Klingon!
> If you need a more abstract type, there's a String class on -
> http://www.descent.org, or you could look in Tango for a similar module.
> IMH, most of the time you don't need anything fancier than those
> primitive types.
Also take a look at this nice long explanation:
http://www.prowiki.org/wiki4d/wiki.cgi?DanielKeep/TextInD
(btw, this page should be easier to find :) )
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
More information about the Digitalmars-d
mailing list