<?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 How to change tMap temp file encoding format when we enable store temp data = true? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-tMap-temp-file-encoding-format-when-we-enable/m-p/2229939#M20723</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an issue with my job on production environment.Here is the scenario of my actual job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Job reads data from a csv file using tInputDelimited component and writes it into another csv file using tOutputDelimited component and in between there is a tmap component which has 3 lookups &amp;nbsp;connected to it.&lt;/P&gt; 
&lt;P&gt;And all the input and output file connectors has 'UTF-8' encoding format including look up components.&lt;/P&gt; 
&lt;P&gt;Input file has some accented characters in it but when it writes the data into target csv, all the special characters getting replaced with question marks ('?').&lt;/P&gt; 
&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Input data:&lt;/STRONG&gt; wöchentlich,árbol,único&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Output data:&lt;/STRONG&gt; w??chentlich, a?rbol, u?nico&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected data:&amp;nbsp;&lt;/STRONG&gt;wöchentlich,árbol,único&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After investigating the issue, I have found that it is because of a temp file which is getting generated internally to store data on disk when we enable store temp data option as true in tMap, especially for large data sets.&lt;/P&gt; 
&lt;P&gt;This temp file which is generating on linux machine is automatically getting converting from UTF-8 to the default system localle encoding format.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job scenario" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvAr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148274i660204DEF78B353C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvAr.png" alt="0683p000009LvAr.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;job scenario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So my question is how can I change the temp file encoding format with in Talend? Any other suggestions or ideas to overcome this issue would be great helpful for me.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance,&lt;/P&gt; 
&lt;P&gt;Saya&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:43:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:43:29Z</dc:date>
    <item>
      <title>How to change tMap temp file encoding format when we enable store temp data = true?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-tMap-temp-file-encoding-format-when-we-enable/m-p/2229939#M20723</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an issue with my job on production environment.Here is the scenario of my actual job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Job reads data from a csv file using tInputDelimited component and writes it into another csv file using tOutputDelimited component and in between there is a tmap component which has 3 lookups &amp;nbsp;connected to it.&lt;/P&gt; 
&lt;P&gt;And all the input and output file connectors has 'UTF-8' encoding format including look up components.&lt;/P&gt; 
&lt;P&gt;Input file has some accented characters in it but when it writes the data into target csv, all the special characters getting replaced with question marks ('?').&lt;/P&gt; 
&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Input data:&lt;/STRONG&gt; wöchentlich,árbol,único&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Output data:&lt;/STRONG&gt; w??chentlich, a?rbol, u?nico&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected data:&amp;nbsp;&lt;/STRONG&gt;wöchentlich,árbol,único&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After investigating the issue, I have found that it is because of a temp file which is getting generated internally to store data on disk when we enable store temp data option as true in tMap, especially for large data sets.&lt;/P&gt; 
&lt;P&gt;This temp file which is generating on linux machine is automatically getting converting from UTF-8 to the default system localle encoding format.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job scenario" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvAr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148274i660204DEF78B353C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvAr.png" alt="0683p000009LvAr.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;job scenario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So my question is how can I change the temp file encoding format with in Talend? Any other suggestions or ideas to overcome this issue would be great helpful for me.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance,&lt;/P&gt; 
&lt;P&gt;Saya&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-tMap-temp-file-encoding-format-when-we-enable/m-p/2229939#M20723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change tMap temp file encoding format when we enable store temp data = true?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-tMap-temp-file-encoding-format-when-we-enable/m-p/2229940#M20724</link>
      <description>&lt;P&gt;Not sure it will work but you can try to force the default encoding for the job.&lt;BR /&gt;Go to Run tab, Advanced settings then add a&amp;nbsp;specific JVM argument like this one:&lt;/P&gt;&lt;PRE&gt;-Dfile.encoding=UTF8&lt;/PRE&gt;&lt;P&gt;Let us know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: didn't saw you have already test this option with success&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 19:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-tMap-temp-file-encoding-format-when-we-enable/m-p/2229940#M20724</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T19:08:04Z</dc:date>
    </item>
  </channel>
</rss>

