byteordermark

MSXMLWriter60 doesn't output byteOrderMark for UTF-16 encoding

I'm using a variant on code seen in "How to make XMLDOMDocument include the XML Declaration?" (which can also be seen at MSDN. If I change the encoding to "UTF-16" one would think it would output as UTF-16... and it "does"... by looking at the output in a text editor; but checking it in a hex editor, the byte-order mark is missing (despi...

saxparser ignore byte order mark

Hi, Our saxparser does not ignore the byte order mark which appears at the starting of the file. How do I get my sax parser to ignore the byte order mark ? ...