V
Vai2000
Hi All, I have an xml document which gets generated out of a process with
utf-16 type of encoding. I am writing this to a file. How can I convert it
to utf-8 since IE won't open the Document.
Tried using Encoding.Unicode,Encoding.Utf8 flags in the StreamWriter but no
luck!!!
// this is the code I am using to write out
StreamWriter sw=new StreamWriter(fileOut);
sw.Write(content,Encoding.Unicode);
//sw.Write(content,Encoding.Utf8);
sw.Close();
TIA
utf-16 type of encoding. I am writing this to a file. How can I convert it
to utf-8 since IE won't open the Document.
Tried using Encoding.Unicode,Encoding.Utf8 flags in the StreamWriter but no
luck!!!
// this is the code I am using to write out
StreamWriter sw=new StreamWriter(fileOut);
sw.Write(content,Encoding.Unicode);
//sw.Write(content,Encoding.Utf8);
sw.Close();
TIA