<?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: Text Enclosure and Escaping Character option in tfileinputDelimited in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-and-Escaping-Character-option-in/m-p/2335867#M104380</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPUoAAO"&gt;@shameer&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Lets clear the fog with these terms.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Field Separator - This is the most important value which will separate the values between columns for a csv file. In your case, it will be semicolon.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Text Enclosure - Even if there is a break in the value like more than one word or a big paragraph with lot of line breaks, this value will help the csv reader to understand that all the data within that character set is one block. Generally double quotes is the most popular character set used for this variable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Escape character - Imagine a case where you are getting text enclosure character itself as part of data. In this case, we need to inform the reader by adding a prefix with another character that it is indeed part of data. This is called escape character.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;e.g:-&amp;nbsp;"I would like to test loading of double quotes character "" and it seems to be working!"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you add " as the escape character, it will check for the combination and will add the " in between sentence. If you are using some other symbol like&amp;nbsp;@, you need to add the combination as&amp;nbsp;@" to do the escape character.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope I cleared your query &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please spend a second to mark the topic as resolved if you do not have any further queries.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 14:22:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-27T14:22:38Z</dc:date>
    <item>
      <title>Text Enclosure and Escaping Character option in tfileinputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-and-Escaping-Character-option-in/m-p/2335866#M104379</link>
      <description>&lt;P&gt;Suppose I have a tFileInputDelimited file with data as below (1st line header) :-&lt;/P&gt;
&lt;P&gt;Column1;column2;column3&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86313"&gt;@111&lt;/a&gt;@;@xxx@;@987@@&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/211222"&gt;@222&lt;/a&gt;@;@YYY@;@874@@&lt;/P&gt;
&lt;P&gt;Job design as below :-&lt;BR /&gt;tfileInputDelimited--&amp;gt; tLogRow&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;tfileInputDelimited CSV option&amp;nbsp; properties as below :-&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;escape char "@"&lt;BR /&gt;Text encloser """&lt;/P&gt;
&lt;P&gt;then the tLogRow will give below output:-&lt;/P&gt;
&lt;P&gt;Column1|column2|column3&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86313"&gt;@111&lt;/a&gt;@|@xxx@|@987@@&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/211222"&gt;@222&lt;/a&gt;@|@YYY@|@874@@&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;tfileInputDelimited CSV option&amp;nbsp; properties as below :-&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;escape char """&lt;BR /&gt;Text encloser "@"&lt;/P&gt;
&lt;P&gt;then the output in tLogrow&lt;/P&gt;
&lt;P&gt;Column1|column2|column3&lt;BR /&gt;111|xxx|987&lt;BR /&gt;222|YYY|874&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In the above example, it seems like whatever text Encloser is mentioned its expecting the value of the field within that characters followed by delimiter.&lt;/P&gt;
&lt;P&gt;Then can you please let me know what is the use of Escape char option in this. And how this can be used with an example.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-and-Escaping-Character-option-in/m-p/2335866#M104379</guid>
      <dc:creator>shameer1</dc:creator>
      <dc:date>2024-11-16T05:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text Enclosure and Escaping Character option in tfileinputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-and-Escaping-Character-option-in/m-p/2335867#M104380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPUoAAO"&gt;@shameer&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Lets clear the fog with these terms.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Field Separator - This is the most important value which will separate the values between columns for a csv file. In your case, it will be semicolon.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Text Enclosure - Even if there is a break in the value like more than one word or a big paragraph with lot of line breaks, this value will help the csv reader to understand that all the data within that character set is one block. Generally double quotes is the most popular character set used for this variable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Escape character - Imagine a case where you are getting text enclosure character itself as part of data. In this case, we need to inform the reader by adding a prefix with another character that it is indeed part of data. This is called escape character.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;e.g:-&amp;nbsp;"I would like to test loading of double quotes character "" and it seems to be working!"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you add " as the escape character, it will check for the combination and will add the " in between sentence. If you are using some other symbol like&amp;nbsp;@, you need to add the combination as&amp;nbsp;@" to do the escape character.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope I cleared your query &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please spend a second to mark the topic as resolved if you do not have any further queries.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 14:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Text-Enclosure-and-Escaping-Character-option-in/m-p/2335867#M104380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-27T14:22:38Z</dc:date>
    </item>
  </channel>
</rss>

