<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [resolved] Encoding problems during conversion of XML to MySQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349983#M116892</link>
    <description>Hi guys, 
&lt;BR /&gt;I've tried hours to solve this, but I am already going nuts here. I have a public XML file () that I want to fetch and map to a MySQL table (columns: id, name, address, country, list). So I use this: 
&lt;BR /&gt;tFile_Fetch --onSubJobOk--&amp;gt; tFileInputXML --&amp;gt; tMap --&amp;gt; MySQLOutput 
&lt;BR /&gt;It works fine. All rows are written to MySQL, but cyrillic characters etc. are shown as multiple question marks in MySQL. So I thought it has to be an encoding problem (like the XML being non UTF-8) but the XML says "encoding=UTF-8", all options in Talend are set to UTF-8 and the MySQL database and the tables use charset "utf8" with collation "utf8_unicode_ci". When I open the XML file in a simple text editor, I also see the correct chars. I just doesn't work when writing them to MySQL. 
&lt;BR /&gt;Do you have an idea why this could happen? This is driving me crazy. I would really appreciate your help 
&lt;BR /&gt;btw.: using Talend Open Studio 5.5.1 
&lt;BR /&gt;thx</description>
    <pubDate>Sat, 16 Nov 2024 11:34:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:34:44Z</dc:date>
    <item>
      <title>[resolved] Encoding problems during conversion of XML to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349983#M116892</link>
      <description>Hi guys, 
&lt;BR /&gt;I've tried hours to solve this, but I am already going nuts here. I have a public XML file () that I want to fetch and map to a MySQL table (columns: id, name, address, country, list). So I use this: 
&lt;BR /&gt;tFile_Fetch --onSubJobOk--&amp;gt; tFileInputXML --&amp;gt; tMap --&amp;gt; MySQLOutput 
&lt;BR /&gt;It works fine. All rows are written to MySQL, but cyrillic characters etc. are shown as multiple question marks in MySQL. So I thought it has to be an encoding problem (like the XML being non UTF-8) but the XML says "encoding=UTF-8", all options in Talend are set to UTF-8 and the MySQL database and the tables use charset "utf8" with collation "utf8_unicode_ci". When I open the XML file in a simple text editor, I also see the correct chars. I just doesn't work when writing them to MySQL. 
&lt;BR /&gt;Do you have an idea why this could happen? This is driving me crazy. I would really appreciate your help 
&lt;BR /&gt;btw.: using Talend Open Studio 5.5.1 
&lt;BR /&gt;thx</description>
      <pubDate>Sat, 16 Nov 2024 11:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349983#M116892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Encoding problems during conversion of XML to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349984#M116893</link>
      <description>The encoding is only a matter of parsing the XML file. The job internal converts all char sets to UTF-16 (Java default encoding). 
&lt;BR /&gt;The database driver takes that UTF-16 String an sends it to the database.&amp;nbsp; 
&lt;BR /&gt;If you have configured your table as UTF-8 everything should be fine. 
&lt;BR /&gt;I suggest for your tests you write cyrillic letters with another tool in your database (e.g. use the MySQL clients) and check if you could read it correctly.&amp;nbsp; 
&lt;BR /&gt;You should - for tests - change the output from the tMysqlOutput to a tFileOutputDelimited (also configured as UTF-8) and check if you can read this file correctly.&amp;nbsp; 
&lt;BR /&gt;I guess the read xml is not correctly configured. &amp;nbsp;</description>
      <pubDate>Sun, 20 Jul 2014 18:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349984#M116893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-20T18:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Encoding problems during conversion of XML to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349985#M116894</link>
      <description>Thanks jlolling, I've found the error: If anybody is experiencing the same problems, try adding the following parameters to your JDBC Connection (in my case the MySQL Connection parameters): characterEncoding=utf8&amp;amp;characterSetResult=utf8&amp;amp;useUnicode=true. This worked for me. 
&lt;BR /&gt;Thanks again</description>
      <pubDate>Tue, 29 Jul 2014 17:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349985#M116894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-29T17:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Encoding problems during conversion of XML to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349986#M116895</link>
      <description>Hello All,
&lt;BR /&gt;I am using Talend 5.5.1 and facing problem with few characters like&amp;nbsp;Å etc. I have done the following steps but still facing the issue
&lt;BR /&gt;- Changed Talend encoding type to utf8
&lt;BR /&gt;- &amp;nbsp;Database connection I changed it to -&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;characterEncoding=utf8&amp;amp;characterSetResult=utf8&amp;amp;useUnicode=true&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;but unable to resolve the error.&amp;nbsp;
&lt;BR /&gt;Any help would be greatly appreciated</description>
      <pubDate>Mon, 06 Apr 2015 11:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Encoding-problems-during-conversion-of-XML-to-MySQL/m-p/2349986#M116895</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-06T11:25:51Z</dc:date>
    </item>
  </channel>
</rss>

