<?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: XML response encoding problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301330#M73460</link>
    <description>&lt;P&gt;External service returns correct XML. I guess, the problem appears inside components after tHttpRequest_1 or during moving between them. &amp;nbsp;I'll try to watch transformation this response in debugger.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 08:02:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-20T08:02:04Z</dc:date>
    <item>
      <title>XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301326#M73456</link>
      <description>&lt;P&gt;Hello, all,&lt;/P&gt; 
&lt;P&gt;I've created a job, that making request to external REST service, by request to this job, and returning body as the XML file. &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Job" style="width: 765px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyTd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139895iFD53E3DFDDD69653/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyTd.png" alt="0683p000009LyTd.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job&lt;/SPAN&gt;&lt;/SPAN&gt;But the response has a problem with encoding random chars inside a body.&amp;nbsp; Although, writing response content to file(in tHttpRequest _1) works fine.&amp;nbsp; Response from external REST service moves between components as String.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="through_job.png" style="width: 655px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly8s.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151636iDE2FF163A3B35685/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly8s.png" alt="0683p000009Ly8s.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've already try add to "Advanced settings" parameter&amp;nbsp; "-Dfile.encoding=UTF-8", but it hasn't worked.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Anyone have an idea, why does it can work incorrectly?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301326#M73456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301327#M73457</link>
      <description>Did you set your Header correctly? Something like:
&lt;BR /&gt;"Content-type" : "application/xml; charset=utf-8"</description>
      <pubDate>Tue, 19 Jun 2018 14:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301327#M73457</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-06-19T14:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301328#M73458</link>
      <description>&lt;P&gt;Yes. I added this header to tRESTResponse_1 component,&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="response.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyDV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139781iC33EF1EBA2C746F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyDV.png" alt="0683p000009LyDV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but it hasn't worked too.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 15:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301328#M73458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301329#M73459</link>
      <description>Annoying... could it be that the data is extracted from different source(tables) which has a different collation setup (LATIN-1_general)? The other thing I could come up with is UTF-16?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jun 2018 16:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301329#M73459</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-06-19T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301330#M73460</link>
      <description>&lt;P&gt;External service returns correct XML. I guess, the problem appears inside components after tHttpRequest_1 or during moving between them. &amp;nbsp;I'll try to watch transformation this response in debugger.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 08:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301330#M73460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T08:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: XML response encoding problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301331#M73461</link>
      <description>&lt;P&gt;Thanks, all, for trying to help. The problem really places inside the tHttpRequest code. It reads a chunk of bytes from response stream, converts them into String and concatenates them. This algorithm works well if the response contains only ASCII symbols or response length less then 1024 byte(hardcoded size of the chunk). In other situations, it can split symbol. I've&amp;nbsp; moved creating String from bytes after reading the response and it's worked. I've attached my version of this component. The issue in bugtracker will be created later.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtAu"&gt;tHttpRequest.zip&lt;/A&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-response-encoding-problem/m-p/2301331#M73461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T15:57:43Z</dc:date>
    </item>
  </channel>
</rss>

