<?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 Re: Encoding problem in runtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2475199#M141120</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow " data-aura-rendered-by="437:24459;a"&gt;Editing the &lt;STRONG&gt;***wrapper.conf&lt;/STRONG&gt; file with below parameter is applicable for Runtime which is launched from a service.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;wrapper.java.additional.&lt;EM&gt;NN=&lt;/EM&gt;-Dfile.encoding=UTF-8&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow " data-aura-rendered-by="72210:0"&gt;From the Job level(Studio side):&lt;BR /&gt;Click the &lt;STRONG&gt;Run&lt;/STRONG&gt; tab &amp;gt; &lt;STRONG&gt;Advanced settings&lt;/STRONG&gt; &amp;gt; select &lt;STRONG&gt;Use specific JVM arguments&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;New&lt;/STRONG&gt; &amp;gt; enter &lt;STRONG&gt;-Dfile.encoding=UTF-8&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;In addition to that, in cRest component you can set Response class as byte[] and directly write the content to the file without any encoding set on cFile component.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Sabrina&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 04:58:55 GMT</pubDate>
    <dc:creator>Xiaodi_Shi</dc:creator>
    <dc:date>2024-08-08T04:58:55Z</dc:date>
    <item>
      <title>Encoding problem in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2474795#M141111</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I've got an encoding problem in my project. The project contains 2 routes. The first route drops a XML-file in a directory, using a cMessagingEndpoint component. The second route picks it up with a cFile component, encoding set as UTF-8.&lt;/P&gt;
&lt;P&gt;Apparently the first route doesn't drop the file with the right encoding, so the second route crashes with error 'org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence', caused by an 'ü'.&lt;/P&gt;
&lt;P&gt;I've configured this JVM parameter in the wrapper config: wrapper.java.additional.13=-Dfile.encoding=UTF-8, but that's not solving the issue.&lt;/P&gt;
&lt;P&gt;What could cause or solve this issue? Is there a way to set the encoding in the cMessagingEndpoint component?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 12:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2474795#M141111</guid>
      <dc:creator>naviyij674</dc:creator>
      <dc:date>2024-08-06T12:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding problem in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2475199#M141120</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow " data-aura-rendered-by="437:24459;a"&gt;Editing the &lt;STRONG&gt;***wrapper.conf&lt;/STRONG&gt; file with below parameter is applicable for Runtime which is launched from a service.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;wrapper.java.additional.&lt;EM&gt;NN=&lt;/EM&gt;-Dfile.encoding=UTF-8&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow " data-aura-rendered-by="72210:0"&gt;From the Job level(Studio side):&lt;BR /&gt;Click the &lt;STRONG&gt;Run&lt;/STRONG&gt; tab &amp;gt; &lt;STRONG&gt;Advanced settings&lt;/STRONG&gt; &amp;gt; select &lt;STRONG&gt;Use specific JVM arguments&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;New&lt;/STRONG&gt; &amp;gt; enter &lt;STRONG&gt;-Dfile.encoding=UTF-8&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;In addition to that, in cRest component you can set Response class as byte[] and directly write the content to the file without any encoding set on cFile component.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="44220:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="44218:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Sabrina&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 04:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2475199#M141120</guid>
      <dc:creator>Xiaodi_Shi</dc:creator>
      <dc:date>2024-08-08T04:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding problem in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2475221#M141124</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;
&lt;P&gt;Like I said, I already configured the parameter in the wrapper config file and my project does not contain jobs.&lt;/P&gt;
&lt;P&gt;Unfortunately, the first route modifies the incoming XML, so we can't store it directly to the file. Are there other ways to solve this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 07:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encoding-problem-in-runtime/m-p/2475221#M141124</guid>
      <dc:creator>naviyij674</dc:creator>
      <dc:date>2024-08-08T07:23:31Z</dc:date>
    </item>
  </channel>
</rss>

