V
viepia
Hi,
In program 1 XmlWriter.Create(string pathname, XmlWriterSettings
settings), its encoding is UTF-8 <?xml version="1.0"
encoding="utf-8"?>, in program 2 XmlWriter.Create(StringWriter stw,
XmlWriterSettings settings), it encoding is UTF-16 <?xml version="1.0"
encoding="utf-16"?>
. The settings are identical in each program. The XML text is
saved as 8 bit ASCII in each program, so "utf-16" is wrong in Program
2. What can I do to get Program 2 to make the correct "utf-8"
header?
Thanks,
Viepia
In program 1 XmlWriter.Create(string pathname, XmlWriterSettings
settings), its encoding is UTF-8 <?xml version="1.0"
encoding="utf-8"?>, in program 2 XmlWriter.Create(StringWriter stw,
XmlWriterSettings settings), it encoding is UTF-16 <?xml version="1.0"
encoding="utf-16"?>
. The settings are identical in each program. The XML text is
saved as 8 bit ASCII in each program, so "utf-16" is wrong in Program
2. What can I do to get Program 2 to make the correct "utf-8"
header?
Thanks,
Viepia