<?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: quoting - non-standard characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254397#M707272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it's not possible to tell QlikView what character is the quoting symbol, you can do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;SubField(Replace(@1, '~', Chr(39)), '^', 1) AS Field1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;SubField(Replace(@1, '~', Chr(39)), '^', 2) AS Field2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;// and so&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;File.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '^');&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will load each row, storing each string separated by "^" as a different field, and replace the "~" char for the single quote (ascii 39) or any other more suitable character, or even nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load will take longer since it's doing some string formatting, but it might do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 17:16:14 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-01-05T17:16:14Z</dc:date>
    <item>
      <title>quoting - non-standard characters</title>
      <link>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254395#M707270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a text file to import where the fields are separated by carets (^) and the text fields are surrounded by tildes (~). I figured out how to use the custom delimiter but how do I specify tildes as the quoting character? Is this even possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jimmy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254395#M707270</guid>
      <dc:creator />
      <dc:date>2012-01-05T16:44:46Z</dc:date>
    </item>
    <item>
      <title>quoting - non-standard characters</title>
      <link>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254396#M707271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the only place where you can specify the quoting style is in the format specifier, where you can specify 'msq' (modern style quoting) or 'no quotes'. I think standard quoting using single or double quotes is default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So have you tried importing your file with one of these settings and then REPLACE or PURGECHAR the tildes in your text fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254396#M707271</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-05T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: quoting - non-standard characters</title>
      <link>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254397#M707272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it's not possible to tell QlikView what character is the quoting symbol, you can do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;SubField(Replace(@1, '~', Chr(39)), '^', 1) AS Field1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;SubField(Replace(@1, '~', Chr(39)), '^', 2) AS Field2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;// and so&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;File.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '^');&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will load each row, storing each string separated by "^" as a different field, and replace the "~" char for the single quote (ascii 39) or any other more suitable character, or even nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load will take longer since it's doing some string formatting, but it might do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quoting-non-standard-characters/m-p/254397#M707272</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-05T17:16:14Z</dc:date>
    </item>
  </channel>
</rss>

