<?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: Decode hex format data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366544#M130017</link>
    <description>Hi, &lt;BR /&gt;We don't support to decode hexadecimal ASCII data in talend. If we read the hexadecimal ASCII data using talend, it might be garbled .&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 27 Feb 2013 09:29:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-27T09:29:49Z</dc:date>
    <item>
      <title>Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366539#M130012</link>
      <description>Hi,&lt;BR /&gt;Anyone know how to decode the hex format to unicode string?&lt;BR /&gt;regards,&lt;BR /&gt;Ommie</description>
      <pubDate>Wed, 27 Feb 2013 07:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366539#M130012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366540#M130013</link>
      <description>Hi, &lt;BR /&gt;Can you take a look at the tChangeFileEncode component? It is used to change the file encode, please try and let me know if it fixes your need.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 27 Feb 2013 07:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366540#M130013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T07:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366541#M130014</link>
      <description>Hi Sabrina,&lt;BR /&gt;Yes, but what type of encoding i should select if i want to encoding to string?&lt;BR /&gt;Regards,&lt;BR /&gt;Ommie</description>
      <pubDate>Wed, 27 Feb 2013 08:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366541#M130014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366542#M130015</link>
      <description>Hi, &lt;BR /&gt;If your input is hex format the hexadecimal ASCII data which cannot be supported by Talend. So far, we only support Octal ASCII.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 27 Feb 2013 08:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366542#M130015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T08:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366543#M130016</link>
      <description>Hi Sabrina,&lt;BR /&gt;Did you mean Talend does not support hexadecimal converter to ascii only???or  to any format hexa cannot be decoded by Talend?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ommie</description>
      <pubDate>Wed, 27 Feb 2013 09:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366543#M130016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T09:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366544#M130017</link>
      <description>Hi, &lt;BR /&gt;We don't support to decode hexadecimal ASCII data in talend. If we read the hexadecimal ASCII data using talend, it might be garbled .&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 27 Feb 2013 09:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366544#M130017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T09:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366545#M130018</link>
      <description>We need to know what you want to convert the hex to. Is it base64 encoded or ebcdic or assci? Is it just text or a mixture of text and numbers?</description>
      <pubDate>Wed, 27 Feb 2013 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366545#M130018</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-02-27T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366546#M130019</link>
      <description>Hi, 
&lt;BR /&gt;From my understanding of Omie's requirement, she have data set that has been encoded as hex format. What she wants to do is to decoded it to ASCII so that she able to read the data. 
&lt;BR /&gt;She has built the ETL job to decode hex to ascii but the output after decoding was garbled. That's why she asked why that issue happen. Since Sabrina said that Talend was not supported for hex to be decoded into ascii, she asked again whether Talend was not supported hex to be decoded into all kind of format(ascii, ebcdic...etc) or only to ascii? I'm sure the data is mixture of text and number. 
&lt;BR /&gt;Rgds, 
&lt;BR /&gt;Kal</description>
      <pubDate>Thu, 28 Feb 2013 01:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366546#M130019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T01:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366547#M130020</link>
      <description>If we don't know what sort of hex it is we can't decode it. If it's hex from ascii that's different from hex from ebcdic and is a problem if there's not a schema to identify where number fields start and stop.</description>
      <pubDate>Thu, 28 Feb 2013 09:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366547#M130020</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-02-28T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366548#M130021</link>
      <description>Hi Janhess,
&lt;BR /&gt;I believe it is hex from ascii. That's why we need to decode it to ascii. We tried to used the data and convert it via online converter and it is worked. I really don't get what do you mean by field start and stop. its only one field and contained of a lot of row data that has been encoded to hex.
&lt;BR /&gt;rgds,
&lt;BR /&gt;Kal</description>
      <pubDate>Thu, 28 Feb 2013 09:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366548#M130021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T09:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366549#M130022</link>
      <description>You could probably use the Talend dataoperation functions XTD and CHAR.</description>
      <pubDate>Thu, 28 Feb 2013 09:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366549#M130022</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-02-28T09:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366550#M130023</link>
      <description>Is that a component? I couldn't find it.</description>
      <pubDate>Thu, 28 Feb 2013 09:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366550#M130023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T09:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366551#M130024</link>
      <description>No they are functions.&lt;BR /&gt;Or you could create a function like this that I found on the web. &lt;A href="http://stackoverflow.com/questions/4785654/covert-a-string-of-hex-into-ascii-in-java" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4785654/covert-a-string-of-hex-into-ascii-in-java&lt;/A&gt;&lt;BR /&gt;public static void main(String[] args) {&lt;BR /&gt;    String hex = "75546f7272656e745c436f6d706c657465645c6e667375635f6f73745f62795f6d757374616e675c50656e64756c756d2d392c303030204d696c65732e6d7033006d7033006d7033004472756d202620426173730050656e64756c756d00496e2053696c69636f00496e2053696c69636f2a3b2a0050656e64756c756d0050656e64756c756d496e2053696c69636f303038004472756d2026204261737350656e64756c756d496e2053696c69636f30303800392c303030204d696c6573203c4d757374616e673e50656e64756c756d496e2053696c69636f3030380050656e64756c756d50656e64756c756d496e2053696c69636f303038004d50330000";&lt;BR /&gt;    StringBuilder output = new StringBuilder();&lt;BR /&gt;    for (int i = 0; i &amp;lt; hex.length(); i+=2) {&lt;BR /&gt;        String str = hex.substring(i, i+2);&lt;BR /&gt;        output.append((char)Integer.parseInt(str, 16));&lt;BR /&gt;    }&lt;BR /&gt;    System.out.println(output);&lt;BR /&gt;}&lt;BR /&gt;Replace the string in the code for an input argument.</description>
      <pubDate>Thu, 28 Feb 2013 09:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366551#M130024</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-02-28T09:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366552#M130025</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;She has built the ETL job to decode hex to ascii but the output after decoding was garbled. That's why she asked why that issue happen. Since Sabrina said that Talend was not supported for hex to be decoded into ascii, she asked again whether Talend was not supported hex to be decoded into all kind of format(ascii, ebcdic...etc) or only to ascii? I'm sure the data is mixture of text and number.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;p/s: Sabrina, do you have any idea on this? 
&lt;BR /&gt; 
&lt;BR /&gt;Rgds, 
&lt;BR /&gt;Kal</description>
      <pubDate>Fri, 01 Mar 2013 04:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366552#M130025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T04:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366553#M130026</link>
      <description>Hi, 
&lt;BR /&gt;There is no talend component you can use for your hex format data, and I think @janhess's suggestion is great. 
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 01 Mar 2013 04:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366553#M130026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T04:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Decode hex format data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366554#M130027</link>
      <description>This can be solved using user routine like what janhess suggested. 
&lt;BR /&gt;Create a routine name HexToString: 
&lt;BR /&gt; 
&lt;PRE&gt;package routines;&lt;BR /&gt;public class HexToString {&lt;BR /&gt;	public static String HexToASCII(String hex){       &lt;BR /&gt;        if(hex.length()%2 != 0){&lt;BR /&gt;           System.err.println("requires EVEN number of chars");&lt;BR /&gt;           return null;&lt;BR /&gt;        }&lt;BR /&gt;        StringBuilder sb = new StringBuilder();               &lt;BR /&gt;        //Convert Hex 0232343536AB into two characters stream.&lt;BR /&gt;        for( int i=0; i&amp;lt;hex.length()-1; i+=2 ){&lt;BR /&gt;             /*&lt;BR /&gt;              * Grab the hex in pairs&lt;BR /&gt;              */&lt;BR /&gt;            String output = hex.substring(i, (i + 2));&lt;BR /&gt;            /*&lt;BR /&gt;             * Convert Hex to Decimal&lt;BR /&gt;             */&lt;BR /&gt;            int decimal = Integer.parseInt(output, 16);                 &lt;BR /&gt;            sb.append((char)decimal);             &lt;BR /&gt;        }           &lt;BR /&gt;        return sb.toString();&lt;BR /&gt;  } &lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;You can get the code at 
&lt;A href="http://jovialjava.blogspot.com/2010/05/hex-to-ascii-conversion-in-java.html" rel="nofollow noopener noreferrer"&gt;http://jovialjava.blogspot.com/2010/05/hex-to-ascii-conversion-in-java.html&lt;/A&gt; 
&lt;BR /&gt;At tMap put: 
&lt;BR /&gt;routines.HexToString.HexToASCII(row1.ColumnA) 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Rozie</description>
      <pubDate>Mon, 11 Mar 2013 12:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decode-hex-format-data/m-p/2366554#M130027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T12:54:34Z</dc:date>
    </item>
  </channel>
</rss>

