verysimplexml
verysimplexml copied to clipboard
Error By TXmlVerySimple.Parse
raised exception class EEncodingError with message 'No mapping for the Unicode character exists in the target multi-byte code page'.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Any files for reference?
var AStream: TFileStream; AXml: TXmlVerySimple; begin AXml := TXmlVerySimple.Create; AStream := TFileStream.Create('1.xml',fmOpenRead); AXml.LoadFromStream(AStream); end;
Your file is in UCS-2 LE BOM format. try to encode it to UTF8