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.