print non-ASCII/UTF-8 string

Egor Starostin egorst at gmail.com
Fri Dec 22 08:03:32 PST 2006


> > My question is: is there any way to print out non-UTF-8 data exactly in the
> > same encoding (which may be unknown) as in original file?
> It's funny that you should bring this up now.  I had a thread over in
> d.D.learn regarding this very thing.  The following should help you get
> started:
> char[] Latin1ToUTF8(char[] value){
It's not my case, I think.

I don't need to convert to UTF-8. I just need to raw print exactly the same string
as in original file.



More information about the Digitalmars-d mailing list