Why the hell doesn't foreach decode strings

Adam D. Ruppe destructionator at gmail.com
Thu Oct 20 19:34:48 PDT 2011


Walter Bright wrote:
> Sometimes you want to look at an array of utf8 as 8 bit characters,
> and sometimes as 20 bit dchars.

Well, they could always cast it to a ubyte[].

But on the other hand, you can just ask for dchar now.

So yeah.


More information about the Digitalmars-d mailing list