Working with utf

Derek Parnell derek at psych.ward
Thu Jun 14 06:23:35 PDT 2007


On Thu, 14 Jun 2007 15:13:35 +0200, Simen Haugen wrote:

> "Derek Parnell" <derek at psych.ward> wrote in message 
> news:n1j2izm4a0x5.413sc7jjzk2x.dlg at 40tude.net...
>> Convert to utf32 (dchar[]) then do your stuff and convert back to latin-1
>> when you're done. Each dchar[] element is a single character.
> 
> You're kidding me, right? Then I only have to convert to utf-32 when reading 
> a file, and back to latin-1 when writing. Thats great! (except I have to 
> modify a lot of char[] to dchar[])

dchar[] Y;
char[]  Z;

 Y = std.utf.toUTF32(Z);

-- 
Derek Parnell
Melbourne, Australia
"Justice for David Hicks!"
skype: derek.j.parnell



More information about the Digitalmars-d mailing list