<?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 Wrong character encoding in mysql result using characterSetResults prp in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246232#M31819</link>
    <description>Hi,
&lt;BR /&gt;I've problem with tMysqlConnection. Data in the databse are stored in latin1 so I need to set up jdbc connector to use this character set. Unfortunately setting up tMysqlConnection Additional JDBC Parameters to "characterSetResults=CP1252" (latin1, iso8859_1) does not affect output.
&lt;BR /&gt;When I connect on the server and use following connection command everything goes right:
&lt;BR /&gt;
&lt;PRE&gt;mysql -p pc --default-character-set=latin1&lt;BR /&gt;mysql&amp;gt; select last_name from candidate where candidate_id=3;&lt;BR /&gt;+-------------+&lt;BR /&gt;| last_name   |&lt;BR /&gt;+-------------+&lt;BR /&gt;| Ková?ová |&lt;/PRE&gt;
&lt;BR /&gt;Same when I'm connecting with MySQL workbench:
&lt;BR /&gt;
&lt;PRE&gt;SET character_set_results = latin1;&lt;BR /&gt;SELECT last_name  FROM `pc`.`candidate` where candidate_id=3;&lt;/PRE&gt;
&lt;BR /&gt;Is there a way to run "SET character_set_results = latin1"; command before any future select? Or is there way to make connection right?</description>
    <pubDate>Sat, 16 Nov 2024 12:53:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:53:50Z</dc:date>
    <item>
      <title>Wrong character encoding in mysql result using characterSetResults prp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246232#M31819</link>
      <description>Hi,
&lt;BR /&gt;I've problem with tMysqlConnection. Data in the databse are stored in latin1 so I need to set up jdbc connector to use this character set. Unfortunately setting up tMysqlConnection Additional JDBC Parameters to "characterSetResults=CP1252" (latin1, iso8859_1) does not affect output.
&lt;BR /&gt;When I connect on the server and use following connection command everything goes right:
&lt;BR /&gt;
&lt;PRE&gt;mysql -p pc --default-character-set=latin1&lt;BR /&gt;mysql&amp;gt; select last_name from candidate where candidate_id=3;&lt;BR /&gt;+-------------+&lt;BR /&gt;| last_name   |&lt;BR /&gt;+-------------+&lt;BR /&gt;| Ková?ová |&lt;/PRE&gt;
&lt;BR /&gt;Same when I'm connecting with MySQL workbench:
&lt;BR /&gt;
&lt;PRE&gt;SET character_set_results = latin1;&lt;BR /&gt;SELECT last_name  FROM `pc`.`candidate` where candidate_id=3;&lt;/PRE&gt;
&lt;BR /&gt;Is there a way to run "SET character_set_results = latin1"; command before any future select? Or is there way to make connection right?</description>
      <pubDate>Sat, 16 Nov 2024 12:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246232#M31819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong character encoding in mysql result using characterSetResults prp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246233#M31820</link>
      <description>Hi 
&lt;BR /&gt;1. Append this parameter useUnicode=true&amp;amp;characterEncoding=xxx into tMysqlConnection Additional JDBC Parameters. 
&lt;BR /&gt;or 
&lt;BR /&gt;2. Use a tMysqlRow to execute statement ""SET character_set_results = xxx" before any future select, eg: 
&lt;BR /&gt;tMysqlConnnection 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tMysqlRow 
&lt;BR /&gt; | 
&lt;BR /&gt; onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tMysqlInput--main--&amp;gt;tLogRow 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tMysqlCommit 
&lt;BR /&gt;on tMysqlRow, check the box' use an existing connection' 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 30 May 2011 01:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246233#M31820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-30T01:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong character encoding in mysql result using characterSetResults prp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246234#M31821</link>
      <description>Hi,
&lt;BR /&gt;I am using talend v 5.3, I have followed all the steps mentioned below.
&lt;BR /&gt;i.e. added "useUnicode=true&amp;amp;characterEncoding=UTF-8" in the additional parameter of the mysql connection.
&lt;BR /&gt;also tried "SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'" in the mysql row component but I am still facing this problem.
&lt;BR /&gt;I was trying to use the traces debug and found that the strings are not getting converted to UTF-8 format.
&lt;BR /&gt;Is this a problem in the v5.3 or have I missed anything in the above statements. Please check the attached images.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Saabir</description>
      <pubDate>Thu, 25 Jul 2013 11:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-character-encoding-in-mysql-result-using/m-p/2246234#M31821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-25T11:45:38Z</dc:date>
    </item>
  </channel>
</rss>

