<?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: Escape character CSV in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296648#M69283</link>
    <description>&lt;P&gt;You have quotation marks as data in a csv file where values are wrapped in quotes. &amp;nbsp;This requires a way to differentiate between quotes wrapping values and quotes that are part of data values-- usually handled by escaping the data quotes. &amp;nbsp;Standard ways of escaping quotes are to double them when they're data quotes or to place an escape character in front of a data quote. &amp;nbsp;Which method you choose depends on what you're going to do with the csv file after you produce it.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 18:06:39 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2017-06-26T18:06:39Z</dc:date>
    <item>
      <title>Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296645#M69280</link>
      <description>Hello in Tmap I have :&lt;BR /&gt;&lt;BR /&gt;"{" + '"' + row1.statut + '"' + "}"&lt;BR /&gt;&lt;BR /&gt;But in my CSV in row I have :&lt;BR /&gt;&lt;BR /&gt;"Test","{""in use""},"2","3"&lt;BR /&gt;&lt;BR /&gt;I need a csv structure :&lt;BR /&gt;"","","",""&lt;BR /&gt;But for the row i don't need double quote ""&lt;BR /&gt;&lt;BR /&gt;i want :&lt;BR /&gt;&lt;BR /&gt;"Test","{"In use"},"2","3"&lt;BR /&gt;&lt;BR /&gt;Thanks !!</description>
      <pubDate>Mon, 26 Jun 2017 16:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296645#M69280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T16:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296646#M69281</link>
      <description>&lt;P&gt;I'm going to assume the relevant value is meant to be: "{"in use"}" as having a leading quote but no trailing quote is going to cause problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talend is escaping the inner quotes so whatever reads the file treats them as data and not string enclosures. &amp;nbsp;If you want the raw output to look like "{"in use"}" turn off CSV options on your output component and manually wrap your values in quotes. &amp;nbsp;Otherwise, tFileOutputDelimited is going to require an Escape Character value, and is going to escape inner quotes in your strings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Out of curiosity, what program or process is going to read your output file that you don't want to escape your quotes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 16:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296646#M69281</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-26T16:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296647#M69282</link>
      <description>I don't understand who wrap manuelly the value with quotes in tmap ?&lt;BR /&gt;I have to keep the quotation marks because from time to time a value of a column may contain commas that disrupts the import because it gives different columns</description>
      <pubDate>Mon, 26 Jun 2017 17:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296647#M69282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T17:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296648#M69283</link>
      <description>&lt;P&gt;You have quotation marks as data in a csv file where values are wrapped in quotes. &amp;nbsp;This requires a way to differentiate between quotes wrapping values and quotes that are part of data values-- usually handled by escaping the data quotes. &amp;nbsp;Standard ways of escaping quotes are to double them when they're data quotes or to place an escape character in front of a data quote. &amp;nbsp;Which method you choose depends on what you're going to do with the csv file after you produce it.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296648#M69283</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-26T18:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296649#M69284</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In the input CSV I have:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"TEST","In use","Solaris&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt; Windows","les serveur&lt;FONT color="#ff0000"&gt; "&lt;/FONT&gt;entrees&lt;FONT color="#ff0000"&gt;"&lt;/FONT&gt; sont","trois"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So there are commas or double quotes in the data.&lt;BR /&gt;In output I am obliged to have a structure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;"TEST","In use","Solaris&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/FONT&gt; Windows","les serveur &lt;FONT color="#ff0000"&gt;"&lt;/FONT&gt;entrees&lt;FONT color="#ff0000"&gt;"&lt;/FONT&gt; sont","{"In use"}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To properly integrate the real encapsulated data between ," ",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You understand ?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 08:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296649#M69284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-27T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Escape character CSV</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296650#M69285</link>
      <description>The last two tokens are not properly encapsulated as there's nothing to indicate that the inner quotes are not a text enclosure. If you need to create an output string exactly like this, you're going to have to construct it yourself. Otherwise, the tFileOutputDelimited component is going to try to escape the inner quotes in some manner.</description>
      <pubDate>Tue, 27 Jun 2017 13:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Escape-character-CSV/m-p/2296650#M69285</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-27T13:56:44Z</dc:date>
    </item>
  </channel>
</rss>

