Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
param75
Contributor III
Contributor III

Talend Data Mapper - JSON -> XML - Add encoding in head XML

Hello,
Today I generate an XML file from the tHMap component (Structure JSON -> Map -> Strucutre XML).
The file is encoded in UTF-8 but it's not indicated in the XML file and causing the next error: parser error : Input is not proper UTF-8, indicate encoding !


Actual in my file:
<?xml version="1.0" ?>
I wish:
<?xml version="1.0" encoding="utf-8"?>


You know how add this ?
I can to used a replace post-mapping but it isn't the best solution.

Thank's all !

Labels (2)
1 Reply
Anonymous
Not applicable

Hi,
What is your talend version ?
On mine it is ok.
It was fixed in 6.2.
See  https://jira.talendforge.org/browse/TDM-4998
Eric