Hi David,
Why do you need UTF-8 encoded string?
In-memory strings are unicode (UTF-16); I don't know any other way to make
them UTF-8 without writing them to file or a memory stream.
Andrej
"David" <da*******@hotmail.com> wrote in message
news:u3**************@tk2msftngp13.phx.gbl...
hello... i'm using this declarations:
StringWriter w = new StringWriter();
XmlTextWriter xml = new XmlTextWriter(w);
how can i make the output xml (in string) to be writen in UTF-8 encoding?
(it writen in utf-16 now)
.net 1.1 (VS2003)