<?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: [resolved] Character problem on a .csv file. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227584#M19154</link>
    <description>Hello
&lt;BR /&gt;Use a tFileInputFullRow to read the file line by line, and then do a replace processing on tMap, finally, output the rows to a new csv file.
&lt;BR /&gt;
&lt;PRE&gt;row1.line.replaceAll("\\\\0", "").replaceAll("\\\\,", ",")&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 04 Nov 2010 02:54:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-04T02:54:11Z</dc:date>
    <item>
      <title>[resolved] Character problem on a .csv file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227581#M19151</link>
      <description>Hi all, 
&lt;BR /&gt;i have a .csv file. It has two fields and fields are separated with a comma(,) character. I have to remove-replace some characters as mentioned below ; 
&lt;BR /&gt;\0 (backlslash + zero) means NULL value ( means , there should be no character) 
&lt;BR /&gt;0 (zero) means true value of zero digit ( means , do nothing) 
&lt;BR /&gt;\, (backslash + comma) means true value of comma character (means remove backslash) 
&lt;BR /&gt;\ (backslash) means true value of backslash character ( means, do nothing) 
&lt;BR /&gt;, (comma) means a fiels separator 
&lt;BR /&gt;\\ (backslash + backslash) means true values of two backslash characters (means, do nothing) 
&lt;BR /&gt;\,, (backslash + comma + comma) means true value of comma following with field separator. 
&lt;BR /&gt; 
&lt;BR /&gt;i have triend to use java replace command in tMap i could not do them correctly, what is the simple way to do them all? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Best Regards 
&lt;BR /&gt;Bahadir.</description>
      <pubDate>Sat, 16 Nov 2024 13:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227581#M19151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Character problem on a .csv file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227582#M19152</link>
      <description>Hello 
&lt;BR /&gt;Can you give us an example and what are your expected result?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 03 Nov 2010 15:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227582#M19152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-03T15:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Character problem on a .csv file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227583#M19153</link>
      <description>for example, the .csv file is like this; 
&lt;BR /&gt;"Zoologiska artiklar - Tillverkare Grossister\,",Limex AB Zoologisk handel,Trojs List Zoologisk handel,Norrköpings\0 Akvarier AB Zoologisk handel,ZOOPUNKTEN.SE / Skeneciklidhobby Zoologisk handel,Ulliz Zoo Zoologisk handel,AkvarieCenter\ Zoologisk handel\,,Akvariekällaren \\Zoologisk handel,DjurMagazinet Zoologisk handel,Akvariebutiken Strömstad Zoologisk handel,Mölnlycke Djur0 
&lt;BR /&gt;the .csv file that after i work on it must be like this one; 
&lt;BR /&gt;"Zoologiska artiklar - Tillverkare Grossister,",Limex AB Zoologisk handel,Trojs List Zoologisk handel,Norrköpings Akvarier AB Zoologisk handel,ZOOPUNKTEN.SE / Skeneciklidhobby Zoologisk handel,Ulliz Zoo Zoologisk handel,AkvarieCenter\ Zoologisk handel,,Akvariekällaren \\Zoologisk handel,DjurMagazinet Zoologisk handel,Akvariebutiken Strömstad Zoologisk handel,Mölnlycke Djur0</description>
      <pubDate>Wed, 03 Nov 2010 15:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227583#M19153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-03T15:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Character problem on a .csv file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227584#M19154</link>
      <description>Hello
&lt;BR /&gt;Use a tFileInputFullRow to read the file line by line, and then do a replace processing on tMap, finally, output the rows to a new csv file.
&lt;BR /&gt;
&lt;PRE&gt;row1.line.replaceAll("\\\\0", "").replaceAll("\\\\,", ",")&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 04 Nov 2010 02:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227584#M19154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-04T02:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Character problem on a .csv file.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227585#M19155</link>
      <description>hi,
&lt;BR /&gt;it works great, thank you Shong.
&lt;BR /&gt;Best Regars
&lt;BR /&gt;Bahadir</description>
      <pubDate>Thu, 04 Nov 2010 09:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Character-problem-on-a-csv-file/m-p/2227585#M19155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-04T09:55:54Z</dc:date>
    </item>
  </channel>
</rss>

