<?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: Is it possible to detect if a file is in expected encoding (utf8)? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308862#M80145</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Great it works. Thanks for sharing it with us on community.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 08:27:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-01T08:27:02Z</dc:date>
    <item>
      <title>Is it possible to detect if a file is in expected encoding (utf8)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308859#M80142</link>
      <description>&lt;P&gt;I have a java library which consumes incoming files. The problem is, that it is only working if the file is utf8 encoded. Is there a component or a best practice to check this with talend? I want to reject files which are not utf8 encoded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308859#M80142</guid>
      <dc:creator>olja</dc:creator>
      <dc:date>2020-11-24T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to detect if a file is in expected encoding (utf8)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308860#M80143</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;So far, there is no a component or a built-in function can be used to detect the file encoding. You could write a routine in Talend to parse the file encoding.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/499010/java-how-to-determine-the-correct-charset-encoding-of-a-stream" alt="https://stackoverflow.com/questions/499010/java-how-to-determine-the-correct-charset-encoding-of-a-stream" target="_blank"&gt;https://stackoverflow.com/questions/499010/java-how-to-determine-the-correct-charset-encoding-of-a-stream&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 09:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308860#M80143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to detect if a file is in expected encoding (utf8)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308861#M80144</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe someone has the same problem, i have solved it with an external jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With that &amp;nbsp;org.mozilla.universalchardet.UniversalDetector &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://github.com/albfernandez/juniversalchardet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked quite good. I have added a Java Routine and using it my job, if it is not return true, then I will throw an exception and the file will be handled differently&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 10:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308861#M80144</guid>
      <dc:creator>olja</dc:creator>
      <dc:date>2020-11-30T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to detect if a file is in expected encoding (utf8)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308862#M80145</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Great it works. Thanks for sharing it with us on community.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 08:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-possible-to-detect-if-a-file-is-in-expected-encoding-utf8/m-p/2308862#M80145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-01T08:27:02Z</dc:date>
    </item>
  </channel>
</rss>

