reading an unicode file
Bill Baxter
dnewsgroup at billbaxter.com
Thu May 10 22:45:41 PDT 2007
jicman wrote:
> Thanks BB.
>
> I should stop using char and do more wchars. But that is a whole new world for
> me. :-)
>
> Interesting enough, I did this command to the string,
>
> char[] n = std.string.replace(s,"\000","");
>
> and now strings show correctly. The problem is that I work with accented
> characters, which will probably break something. I am going to have to look into
> this, but for now, it's working for this task.
Yep. That is probably going to break in horrible ways when you start to
encounter more than just plain 7-bit ASCII.
--bb
More information about the Digitalmars-d-learn
mailing list