<?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: tNormalize and enclosed field in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357393#M122707</link>
    <description>Hello,&lt;BR /&gt;Yes I tried with to check the "CSV Options" checkbox and type """ and """ in "escape char" and "text enclosure" fields on component tfileinputdelimited component and it is not working.&lt;BR /&gt;Clearly this components do not do what they should do, it is full of bugs&lt;BR /&gt;Regards</description>
    <pubDate>Fri, 08 Apr 2016 10:08:19 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-04-08T10:08:19Z</dc:date>
    <item>
      <title>tNormalize and enclosed field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357391#M122705</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I use a tNormalize object to split lines with space as filed separator. Some of my columns have text fields delimited with double quotes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;Jan&amp;nbsp; 1 00:01:44 qid=tBVN1fmH035294 subject="Delivery Status Notification (Delay)" virusname= duration=0.037 elapsed=0.266&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I would like this text field not to be split so I use in advanced tab of the tNormalize the option use CSV parameters and text enclosed with """ but it does not work...:-/&lt;BR /&gt;Could anyone help me to make it working properly ?&lt;BR /&gt;Thanks &lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357391#M122705</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-04-05T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize and enclosed field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357392#M122706</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Have you tried to check the "CSV Options" checkbox and type """ and """ in "escape char" and "text enclosure" fields on component tfileinputdelimited component to see if your text field displays well then using&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tNormalize&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;split lines?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;Best regards&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;Sabrina&lt;/FONT&gt;[/font]</description>
      <pubDate>Thu, 07 Apr 2016 08:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357392#M122706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T08:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize and enclosed field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357393#M122707</link>
      <description>Hello,&lt;BR /&gt;Yes I tried with to check the "CSV Options" checkbox and type """ and """ in "escape char" and "text enclosure" fields on component tfileinputdelimited component and it is not working.&lt;BR /&gt;Clearly this components do not do what they should do, it is full of bugs&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 08 Apr 2016 10:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357393#M122707</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-04-08T10:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: tNormalize and enclosed field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357394#M122708</link>
      <description>There is a difference between a "bug" and software not doing what you "think" it should do. Your format does not suit the CSV options because it does not conform to that standard.&amp;nbsp;
&lt;BR /&gt;First of all, let's look at this logically. Why would you choose a space to normalize the data when you have a column (or more) which legitimately have spaces in them?
&lt;BR /&gt;Your example text is below.....
&lt;BR /&gt;
&lt;PRE&gt;Jan&amp;nbsp; 1 00:01:44 qid=tBVN1fmH035294 subject="Delivery Status Notification (Delay)" virusname= duration=0.037 elapsed=0.266&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;The first thing that comes to mind is that (ignoring the date at the beginning) your data appears to arrive in the format "{field name}={field value}". So the first thing you need to do is remove the date section from the problem. This can be done by using Java String manipulation methods (substring with indexOf, for example) to either search for "qid" if it will always be the first non-date value or for an unbroken String with a "=" at the end. This is entirely possible in Java.
&lt;BR /&gt;Once you are left with the rest of the String, you can use a variation on what you did to retrieve the Date, to split the rest of the data.
&lt;BR /&gt;This is not a standard problem and as such there isn't necessarily a Talend component for precisely solving this. However, with a bit of Java knowledge and a logical approach to the problem, it is not that difficult to solve.</description>
      <pubDate>Fri, 08 Apr 2016 10:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tNormalize-and-enclosed-field/m-p/2357394#M122708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T10:29:43Z</dc:date>
    </item>
  </channel>
</rss>

