How does the XML look like, how does the parsing code look like and
what error do you get ?
Arne
The XML file looks like this (in notepad) <?xml version="1.0"
encoding="utf-16"?><form Id="1111"></form> in VS 2008 looks like 㼼浸â¬æ•¶ç²æ½©
㵮ㄢ〮•湥潣楤æ®âˆ½ç‘µâµ¦ã˜±ã¼¢ã°¾æ½¦æµ²ä¤ 㵤ㄢㄱ∱㰾是牯ã¹
I have tried parsing like
string filePath = "form.xml";
XmlDocument doc = new XmlDocument();
doc.Load(filePath);
XmlNode formNode = doc.FirstChild;
Error I get is There is no Unicode byte order mark. Cannot switch to
Unicode.
I have also tried
StreamReader reader = new StreamReader(filePath, Encoding.Unicode,
true);
XmlTextReader textReader = new XmlTextReader(reader);
textReader.Read();
Error I get now is Data at the root level is invalid. Line 1, position
1.
Any ideas? Thanks