<?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 [resolved] changing encoding type output on a column by column basis in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292200#M65300</link>
    <description>In a tMap, when defining output, some columns need to be output to standard ISO-8859-15 (single byte latin), and other columns need to be cast into utf8 (double byte).&lt;BR /&gt;How do you do this in a tMap / tJavaFlex?&lt;BR /&gt;Dave</description>
    <pubDate>Sat, 16 Nov 2024 13:38:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:38:27Z</dc:date>
    <item>
      <title>[resolved] changing encoding type output on a column by column basis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292200#M65300</link>
      <description>In a tMap, when defining output, some columns need to be output to standard ISO-8859-15 (single byte latin), and other columns need to be cast into utf8 (double byte).&lt;BR /&gt;How do you do this in a tMap / tJavaFlex?&lt;BR /&gt;Dave</description>
      <pubDate>Sat, 16 Nov 2024 13:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292200#M65300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] changing encoding type output on a column by column basis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292201#M65301</link>
      <description>David,
&lt;BR /&gt;Input and Output components have Encoding property in the Basic or Advanced properties. You can just choose UTF-8 instead of ISO-885915 for all components in your Job Designs. 
&lt;BR /&gt;If you need some in an enconding and some other into another, maybe it's probably easier to have two separate subJob, one on UTF-8 the other one on ISO-885915 on the components.
&lt;BR /&gt;Another way is to call user_routines which have some method to encode the data on the fly into a tMap or other components.</description>
      <pubDate>Fri, 18 Dec 2009 22:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292201#M65301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-18T22:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] changing encoding type output on a column by column basis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292202#M65302</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;David,&lt;BR /&gt;Input and Output components have Encoding property in the Basic or Advanced properties. You can just choose UTF-8 instead of ISO-885915 for all components in your Job Designs. &lt;BR /&gt;If you need some in an enconding and some other into another, maybe it's probably easier to have two separate subJob, one on UTF-8 the other one on ISO-885915 on the components.&lt;BR /&gt;Another way is to call user_routines which have some method to encode the data on the fly into a tMap or other components.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;? Is it safe to say that, for a tOracleInput set to utf-8, which has columns of: 
&lt;BR /&gt;col1 varchar2(10) 
&lt;BR /&gt;col2 nvarchar2(10) 
&lt;BR /&gt;col3 varchar2(10) 
&lt;BR /&gt;I can just map to a tOracleOutput set to utf-8 (assume col1=&amp;gt;col1 , col2=&amp;gt;col2, col3 =&amp;gt;col3) 
&lt;BR /&gt;col1 varchar2(10) 
&lt;BR /&gt;col2 nvarchar2(10) 
&lt;BR /&gt;col3 nvarchar2(10) 
&lt;BR /&gt;So, in other words, I do not need to do any explicit casts in the tmap? (note col3) 
&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 18 Dec 2009 22:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292202#M65302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-18T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] changing encoding type output on a column by column basis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292203#M65303</link>
      <description>David,
&lt;BR /&gt;From my point of view it's safe.
&lt;BR /&gt;Normally, you don't need to cast (for it you mean encode) at all the object.
&lt;BR /&gt;Once your data is read with the right encoding from the source and become an Object (String, Float, ...) and then is written using the right encoding too; you don't care about the Life of the object during the date flow.
&lt;BR /&gt;For example you can have a source in ISO-885915 and a target in UTF-16, you just need to indicate the right encoding for each one; but nothing to do in the middle components like tMap, etc...
&lt;BR /&gt;Best regards;</description>
      <pubDate>Fri, 18 Dec 2009 22:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292203#M65303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-18T22:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] changing encoding type output on a column by column basis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292204#M65304</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;David,&lt;BR /&gt;From my point of view it's safe.&lt;BR /&gt;Normally, you don't need to cast (for it you mean encode) at all the object.&lt;BR /&gt;Once your data is read with the right encoding from the source and become an Object (String, Float, ...) and then is written using the right encoding too; you don't care about the Life of the object during the date flow.&lt;BR /&gt;For example you can have a source in ISO-885915 and a target in UTF-16, you just need to indicate the right encoding for each one; but nothing to do in the middle components like tMap, etc...&lt;BR /&gt;Best regards;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;That's fantastic. When coding in SSIS (Miscrosoft ETL), I always had to explicitly cast at the column level, when moving data from single byte to unicode. 
&lt;BR /&gt;Example source.col1 as varchar2(10), and destination.col1 as nvarchar2(10). In SSIS, would have to do a cast as: destination.col1 = (wst)Source.col1 within the data pipeline (wst is explicit cast to unicode), or I would get an error. 
&lt;BR /&gt;That's great in Talend, to not have to worry about that. 
&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 18 Dec 2009 22:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-changing-encoding-type-output-on-a-column-by-column/m-p/2292204#M65304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-18T22:46:56Z</dc:date>
    </item>
  </channel>
</rss>

