Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Invalid XML: ... encoding specified in XML declaration is incorrect

Avatar

Level 2

Hi,

I need to import a XML file into a PDF. This works as long as the encoding of the XML file is UTF-8. However, the files I need to import have an encoding UTF-16. When trying to import I get an error:

Invalid XML: Xml parsing error: encoding specified in XML declaration is incorrect (error code 19)

It is almost impossible to have the xml-file changed, so is there a way to import a UTF-16 encoded file?

Thanks in advance!

Erik

0 Replies