<?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: STORE command adds extra characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667766#M594620</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/%C3%AF-are-found-in-the-csv-exported-from-a-Qlikview-chart/m-p/800170" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can you share a part of your qvw file ?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 14:30:47 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-01-21T14:30:47Z</dc:date>
    <item>
      <title>STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667742#M594617</link>
      <description>&lt;P&gt;When I STORE as table as a csv (txt) file, it starts with extra characters.&amp;nbsp; The first line of the file, which should have only column headings, looks like this:&lt;/P&gt;&lt;P&gt;ï»¿INDEX,RATE,PERIOD&lt;/P&gt;&lt;P&gt;The column is called INDEX.&amp;nbsp; How do I get rid of those first 3 characters?&amp;nbsp; The downstream application that reads this file has trouble with them.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667742#M594617</guid>
      <dc:creator>dwfiv327</dc:creator>
      <dc:date>2024-11-16T01:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667755#M594618</link>
      <description>&lt;P&gt;it's a common problem if you save the files as UTF-8 with BOM. You should save them as UTF-8 without BOM&lt;/P&gt;&lt;P&gt;look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/331334" target="_blank"&gt;How can I use include files saved in UTF8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667755#M594618</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-21T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667764#M594619</link>
      <description>&lt;P&gt;This example does not solve my problem.&amp;nbsp; I am using the STORE command to write a csv file.&amp;nbsp; The example talks about scripts and " File -&amp;gt; Save with encoding -&amp;gt; UTF-8 with BOM"&amp;nbsp; I don't even know what BOM is nor where to find this Save command.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667764#M594619</guid>
      <dc:creator>dwfiv327</dc:creator>
      <dc:date>2020-01-21T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667766#M594620</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/%C3%AF-are-found-in-the-csv-exported-from-a-Qlikview-chart/m-p/800170" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can you share a part of your qvw file ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667766#M594620</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-21T14:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667768#M594621</link>
      <description>&lt;P&gt;rateForecast:&lt;BR /&gt;LOAD&lt;BR /&gt;IndexNumber as INDEX,&lt;BR /&gt;// RateIndexCode as INDEXCODE,&lt;BR /&gt;Num(Rate,'#.###') as RATE,&lt;BR /&gt;RateMonth as PERIOD&lt;BR /&gt;Resident RateForecast&lt;BR /&gt;Order by IndexNumber, RateMonth&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;STORE rateForecast into .\ReferenceData\rateForecast.csv (txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rateForecast.csv file starts with the extra characters that do not belong there.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667768#M594621</guid>
      <dc:creator>dwfiv327</dc:creator>
      <dc:date>2020-01-21T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667780#M594622</link>
      <description>&lt;P&gt;I can't reproduce the same error, that's the result ( your code )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 374px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27227i5F7252388A460AE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you also see this solution: &lt;A href="https://community.qlik.com/t5/QlikView-Scripting/Loading-txt-files/td-p/772467" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;does ï "¿ appear only in the heider or also in the data&lt;/P&gt;&lt;P&gt;if only in the header, can you try to save the file without the first line (header ) ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667780#M594622</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-21T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667786#M594623</link>
      <description>&lt;P&gt;QlikView is not the application that will read in this txt file.&amp;nbsp; So there is no load script that I can change.&lt;/P&gt;&lt;P&gt;To see the characters, open the output file in Word and selected "Windows Default" encoding.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;ï "¿ appears only in the first line, before the first column heading.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 14:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1667786#M594623</guid>
      <dc:creator>dwfiv327</dc:creator>
      <dc:date>2020-01-21T14:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1676806#M594624</link>
      <description>&lt;P&gt;You are changing the encoding, so I would fully expect a difference in things, you are writing it out as UTF-8, but using a different encoding to open, that is going to be a problem, you need to use the same encoding it was saved as...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the Help link, which states we use UTF-8, so you would need to adjust the encoding in an interim step somehow if you need it to be Windows Default, PowerShell might be an option to do that, but no idea how to do so, would likely have to check Microsoft forums on that one.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 19:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1676806#M594624</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-18T19:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1726091#M594625</link>
      <description>&lt;P&gt;I've come across same problem.&amp;nbsp; We are exporting a set of .csv files from Qlikview which are then sent to a third party to load into their application.&amp;nbsp; They have come back complaining of an invalid header caused by those three characters you mentioned.&amp;nbsp; This thread has helped me understand better including the link to UTF-8 BOM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if you have resolved.&amp;nbsp; As I understand it Qlikview exports the csv's as UTF-8 BOM format.&amp;nbsp; The BOM is the 3 characters which is tells the reading program that it is in fact UTF-8 format.&amp;nbsp; Apparently that is unnecessary but part of the standard so should be recognised.&amp;nbsp; The application I am sending csv files to must not recognise it, and yours doesn't either.&amp;nbsp; Some info on the topic.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/2223882/whats-the-difference-between-utf-8-and-utf-8-without-bom" target="_blank"&gt;https://stackoverflow.com/questions/2223882/whats-the-difference-between-utf-8-and-utf-8-without-bom&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because mine is a once off exercise, I will probably just load the .csv into notepad++, change the encoding to UTF-8 (from UTF-8 with BOM) and save.&lt;/P&gt;&lt;P&gt;If also found this link - it may offer a solution that you could use:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/8898294/convert-utf-8-with-bom-to-utf-8-with-no-bom-in-python" target="_blank"&gt;https://stackoverflow.com/questions/8898294/convert-utf-8-with-bom-to-utf-8-with-no-bom-in-python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good Luck.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 12:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1726091#M594625</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2020-07-08T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: STORE command adds extra characters</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1803320#M1211894</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;This solution worked for my project.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;I needed to remove the BOM and also needed to be able to Rename with a Date.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;Background, I am exporting a large Fixed Width single column Record.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;So, moving data out of Qlik into a text file and then the receiver is putting it into a Unix based No BOM allowed system.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;Make sure the 1st row Value is something you don't need.&amp;nbsp; For me it is the field name itself.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;That is the row that will contain the BOM.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;I've let a variable equal a date.&amp;nbsp; various ways to do that.&amp;nbsp; I made a qualify table with one date in it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;let vDate = FieldValue('dte.dte',1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;let fle = 'V:\MemDirect\mem\pos\bsls\memPOS.txt';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;let flenew = 'V:\MemDirect\mem\pos\bsls\bsls_MEM_' &amp;amp; vDate &amp;amp; '.txt';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;Store sdg into V:\MemDirect\mem\pos\bsls\memPOS.txt (txt);&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;//&amp;nbsp; &amp;nbsp;stores my single column fixed width record into a text file...unfortunately, it is UTF-8 and has BOM in the first record...so we have to fix that.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;EXECUTE cmd.exe /c findstr /V "YourFirstRowFiledName" "$(fle)" &amp;gt; "$(flenew)";&amp;nbsp; &amp;nbsp;// this finds the BOM Fields (1st row) and ignores it on new file&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva" size="1 2 3 4 5 6 7"&gt;EXECUTE cmd.exe /c del "V:\MemDirect\mem\pos\bsls\memPOS.txt"; // this deletes the original file w BOM leave me just 1 new BOM less File&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;it is all done in the Qlik Script using DOS commands rather than have to use other programs or reference any .bat files even.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Note:&amp;nbsp; In something related to my project and something for you to think about if providing a similar solution.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;I also had to remove all the single quotes, double quotes and commas from my file so they didn't throw off the fixed width the other company uses...this was unfortunate, but it is what it is.&amp;nbsp;&amp;nbsp;&lt;FONT size="2"&gt;replace(replace(replace(replace(&lt;FONT face="verdana,geneva"&gt;YourFirstRowFiledName&lt;/FONT&gt;,'|',''),'''',''),'"',''),',','')&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 22:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-command-adds-extra-characters/m-p/1803320#M1211894</guid>
      <dc:creator>brooksc57</dc:creator>
      <dc:date>2021-04-27T22:30:24Z</dc:date>
    </item>
  </channel>
</rss>

