I hope you can help me. I want to parse XML in my PDF. I use the XMLData.parse function to achieve that. The Problem is, I want to parse an UTF-16 encoded XML document.
When I specify encoding="utf-16" in the header it will tell me that the specified encoding is not correct. But what do I need to do to make it correct? ==>
If I encode the xml header to utf-16 it will cut the string because of the \x00. ==> \x00<\x00?\x00x\x00ml version="1.0" encoding="UTF-16"?> == Empty String.
BOM Characters will result in an invalid Token Error -.-
I hope you can help me,
cheers
No comments:
Post a Comment