That's a UTF8 byte order mark. Try this: Choose an appropriate constructor
for your XmlTextWriter or TextWriter-derived class (or whatever you are
using) taking an Encoding class parameter. Pass a new instance of
UTF8Encoding using the constructor with parameter to not set the byte order
mark (i.e. new UTF8Encoding(false)).
"quest" <an********@microsoft.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
I created xml file using XmlTextWriter. When I opened the xml file using
binary editor, the first 3 bytes of the xml file consist of EF, BB, BF
respectively. Is there any way I can generate the XML without the
mentioned
3 bytes (EF, BB, BF) ? Thanks in advance.