Rank: Newbie
Joined: 7/23/2009 Posts: 9 Location: Poland
|
I have a question. Input XML contains polish characters witch Altova does not recognise. Altova XML Spy reports "Your file contains 2 character(s) that should not be present i a file using the Unicode UTF-8 encoding. If you proceed, these characters will be replaced by a substitution character in the document window" and fixes it. Why is that? Should I change something in the options of encoding?
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Most probably your XML file does not have any encoding statement. Ideally, you should add one before opening this XML file.
Alternatively, you can advise XMLSpy to open your files without encoding statement by assuming another encoding - go to Tools/Options/Encoding and change the combo box under "Open XML files with unknown encoding as" to the one which was used for your file.
|