<?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: Escaping double quotes in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346635#M114019</link>
    <description>&lt;P&gt;OK, Now I see the problem. The text enclosure will be recognised to early. Actually a failure because the text enclosure could only be valid if is direct before a field separator or a line feed.&lt;/P&gt;&lt;P&gt;I would raise a Talend support ticket, to force Talend to fix that. But for the mean time I would preprocess the file and replace all &amp;lt;"~"&amp;gt; with &amp;lt;@~@&amp;gt; and read this file. The @ is only a suggestion, you need a char which does not appears in your content. &lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 10:17:35 GMT</pubDate>
    <dc:creator>jlolling</dc:creator>
    <dc:date>2023-02-09T10:17:35Z</dc:date>
    <item>
      <title>Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346629#M114013</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am reading from input file which is separated by "~"&lt;/P&gt;&lt;P&gt;I have a field/column which has below structure&lt;/P&gt;&lt;P&gt;first_name"~"number&lt;/P&gt;&lt;P&gt;First name contains values like DOS COOPERATIVA "DE" INDIA&lt;/P&gt;&lt;P&gt;I want exact name (with quotes) in output  (&lt;/P&gt;&lt;P&gt;DOS COOPERATIVA "DE" INDIA)&lt;/P&gt;&lt;P&gt;I have used text enclosure   "\""&lt;/P&gt;&lt;P&gt;Escape char  """&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting o/p as only &lt;/P&gt;&lt;P&gt;DOS COOPERATIVA or sometimes it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What else settings do I need to change?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346629#M114013</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2024-11-15T22:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346630#M114014</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you show us an example file with more data for testing? all fields are around with double quotes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 08:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346630#M114014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-09T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346631#M114015</link>
      <description>&lt;P&gt;If your field delimiter is ~ you do not need to escape the " (double quotes) in your file content.&lt;/P&gt;&lt;P&gt;Could you show us the settings of the tFileInputDelimited?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 08:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346631#M114015</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-02-09T08:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346632#M114016</link>
      <description>&lt;P&gt;hi, &lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dakbkAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150803iD227B1127F4544AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dakbkAAA.png" alt="0695b00000dakbkAAA.png" /&gt;&lt;/span&gt;below is the screenshot of settings&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 09:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346632#M114016</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2023-02-09T09:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346633#M114017</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;&lt;P&gt;File has below data  format&lt;/P&gt;&lt;P&gt;"0000495195ININS"~""~""~""~""~""~"GEN_11"~"ACTIVE"~"2021-05-15"~""~""~"PARTY_5"~"DOS COOPERATIVA "DE" INDIA"~"ABC"&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 09:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346633#M114017</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2023-02-09T09:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346634#M114018</link>
      <description>&lt;P&gt;Also this record is getting rejected as it couldnt find ~ after EEE"&lt;/P&gt;&lt;P&gt;"0000495195ININS"~""~""~""~""~""~"GEN_11"~"ACTIVE"~"2021-05-15"~""~""~"PARTY_5"~"DOS COOPERATIVA DE EEE""~"ABC"&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 09:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346634#M114018</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2023-02-09T09:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346635#M114019</link>
      <description>&lt;P&gt;OK, Now I see the problem. The text enclosure will be recognised to early. Actually a failure because the text enclosure could only be valid if is direct before a field separator or a line feed.&lt;/P&gt;&lt;P&gt;I would raise a Talend support ticket, to force Talend to fix that. But for the mean time I would preprocess the file and replace all &amp;lt;"~"&amp;gt; with &amp;lt;@~@&amp;gt; and read this file. The @ is only a suggestion, you need a char which does not appears in your content. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 10:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346635#M114019</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-02-09T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346636#M114020</link>
      <description>&lt;P&gt;Thanks @Jan Lolling​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot preprocess the file.&lt;/P&gt;&lt;P&gt;need to find some alternate solution.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 11:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346636#M114020</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2023-02-09T11:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346637#M114021</link>
      <description>&lt;P&gt;Ok, in this case you need to read the whole line (use tFileInputDelimited and set here for field delimiter "") and have only one column (here line). In this example I use the pipe als field delimiter.&lt;/P&gt;&lt;P&gt;Then process the line in a tJavaRow with &lt;/P&gt;&lt;P&gt;output_row.line = input_row.line.replace("\"~\"", "|");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the next component is tExtractDelimitedFields and setup field delimiter with "|" and setup its output schema according to the actually expected schema for this file.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 16:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346637#M114021</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-02-09T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Escaping double quotes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346638#M114022</link>
      <description>&lt;P&gt;Hi @Jan Lolling​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an alternative&lt;/P&gt;&lt;P&gt;1)change Text enclosure to ""&lt;/P&gt;&lt;P&gt;it will result in "  around string like "DOS COOPERATIVA DE EEE""&lt;/P&gt;&lt;P&gt;2)use substring function &lt;/P&gt;&lt;P&gt;row1.first_name.substring(1, row1.first_name.length()-1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;to remove quotes.&lt;/P&gt;&lt;P&gt;It works but is very long process as I have 200 columns in my file&lt;/P&gt;&lt;P&gt;Talend should provide some alternate solution/functionality to deal this.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 13:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escaping-double-quotes/m-p/2346638#M114022</guid>
      <dc:creator>rishind</dc:creator>
      <dc:date>2023-02-10T13:16:03Z</dc:date>
    </item>
  </channel>
</rss>

