<?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 Byte order mark in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Byte-order-mark/m-p/259764#M98053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a way to achive,&amp;nbsp; read the text and search for the special character with ascii value and trim. Below is the script that i have used. Hope this might help other, Hence sharing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set FSO= createobject("Scripting.FilesystemObject")&lt;BR /&gt;set openReconFile=FSO.OpenTextFile("C:\Qlikview\buildsql.txt")&lt;BR /&gt;scriptBackup= openReconFile.ReadAll&lt;/P&gt;&lt;P&gt;openReconFile.Close&lt;/P&gt;&lt;P&gt;If (Len(Trim(scriptBackup)) &amp;gt; 0) Then &lt;BR /&gt;Dim AscValue : AscValue = Asc(Trim(scriptBackup)) &lt;BR /&gt;If ((AscValue = -15441) Or (AscValue = 239)) Then &lt;BR /&gt; scriptBackup = Mid(Trim(scriptBackup),4) :&lt;BR /&gt;End If &lt;BR /&gt;End If&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 03:43:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-29T03:43:33Z</dc:date>
    <item>
      <title>Byte order mark</title>
      <link>https://community.qlik.com/t5/QlikView/Byte-order-mark/m-p/259763#M98052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style=": ; font-size: 8pt;"&gt;HELLO EVERYONE,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style=": ; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style=": ; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Below line puts BOM&amp;nbsp; to text file, is there any way to skip while writing to a text file? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;Store sampletable into C:\Qlikview\buildsql.txt (txt);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 06:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Byte-order-mark/m-p/259763#M98052</guid>
      <dc:creator />
      <dc:date>2011-09-14T06:42:00Z</dc:date>
    </item>
    <item>
      <title>Byte order mark</title>
      <link>https://community.qlik.com/t5/QlikView/Byte-order-mark/m-p/259764#M98053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a way to achive,&amp;nbsp; read the text and search for the special character with ascii value and trim. Below is the script that i have used. Hope this might help other, Hence sharing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set FSO= createobject("Scripting.FilesystemObject")&lt;BR /&gt;set openReconFile=FSO.OpenTextFile("C:\Qlikview\buildsql.txt")&lt;BR /&gt;scriptBackup= openReconFile.ReadAll&lt;/P&gt;&lt;P&gt;openReconFile.Close&lt;/P&gt;&lt;P&gt;If (Len(Trim(scriptBackup)) &amp;gt; 0) Then &lt;BR /&gt;Dim AscValue : AscValue = Asc(Trim(scriptBackup)) &lt;BR /&gt;If ((AscValue = -15441) Or (AscValue = 239)) Then &lt;BR /&gt; scriptBackup = Mid(Trim(scriptBackup),4) :&lt;BR /&gt;End If &lt;BR /&gt;End If&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 03:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Byte-order-mark/m-p/259764#M98053</guid>
      <dc:creator />
      <dc:date>2011-09-29T03:43:33Z</dc:date>
    </item>
  </channel>
</rss>

