<?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: Bug? Nordic (æøå) characters garbled using $INCLUDE and UTF-8 encoded .qvs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509113#M690716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have same problem and was forced to use 1251 charset in my QVS scripts almost year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently I've discovered that QlikView works corrently with UTF-8 encoded qvs files if they have BOM header.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have almost same toolset as you - Sublime Text and git and it works for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In Sublime Text: File / Save with encoding / UTF-8 with BOM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 14:26:12 GMT</pubDate>
    <dc:creator>vadimtsushko</dc:creator>
    <dc:date>2014-02-04T14:26:12Z</dc:date>
    <item>
      <title>Bug? Nordic (æøå) characters garbled using $INCLUDE and UTF-8 encoded .qvs</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509111#M690714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Qlivkiew 11.20 SR3, using -prj folders]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My source files contain field names using Norwegian characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am moving scripts out of the QVWs and into QVS for improved version control (Git), and encountered the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using Norwegian/Nordic characters in a QVS that is stored with UTF-8 encoding, I get garbage letters back when executing the script. It runs fine when the same text sits in the QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a partially successful workaround by saving the QVS as Windows-1252 instead, so this seems to be encoding-related. But, this is not a solution as it confuses my version control, and, UTF is after all the new standard and this should frankly load without issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot from attatched example QVW, where the same data is loaded twice, with different results:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="47192" alt="utf8vs1252.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47192_utf8vs1252.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two .qvs files contain inline tables with identical data (different table/fieldname to separate on load), but have been saved with the respective encodings in an external text editor (Sublime Text 2):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Table_UTF8:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Encoded_with_UTF8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; æøå&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Table_1252:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Encoded_with_1252:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; æøå&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QVW load script has these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(include=utf-8.qvs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(include=1252.qvs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is there a way to specify which encoding should be used when $INCLUDE-ing (similar to when you LOAD/STORE)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Anyone else is able to reproduce this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Could it be a bug in Qlikview? And if so, how can I report it to Qliktech? I can not find any "submit case" section in my Customer Portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509111#M690714</guid>
      <dc:creator />
      <dc:date>2013-10-03T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? Nordic (æøå) characters garbled using $INCLUDE and UTF-8 encoded .qvs</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509112#M690715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clarification: If I leave the script in the LoadScript.txt file, I have no trouble with æøå, this only happens when including the script from a .qvs file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 13:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509112#M690715</guid>
      <dc:creator />
      <dc:date>2013-10-31T13:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? Nordic (æøå) characters garbled using $INCLUDE and UTF-8 encoded .qvs</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509113#M690716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have same problem and was forced to use 1251 charset in my QVS scripts almost year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently I've discovered that QlikView works corrently with UTF-8 encoded qvs files if they have BOM header.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have almost same toolset as you - Sublime Text and git and it works for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In Sublime Text: File / Save with encoding / UTF-8 with BOM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509113#M690716</guid>
      <dc:creator>vadimtsushko</dc:creator>
      <dc:date>2014-02-04T14:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? Nordic (æøå) characters garbled using $INCLUDE and UTF-8 encoded .qvs</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509114#M690717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that the issue is still present in Qlikview 11.20 SR6. It does not matter if you use the prj-folder or not, I have the issue without it at least.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim's solution works for me too, saving the qvs as UTF-8 with BOM ensures that nordic characters are loaded properly. I've had this problem in other programs (Visual Studio/C#) as well, so this might actually be a Windows-issue, not Qlik-issue. Still it should be handled, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 08:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-Nordic-%C3%A6%C3%B8%C3%A5-characters-garbled-using-INCLUDE-and-UTF-8/m-p/509114#M690717</guid>
      <dc:creator>erikkorme</dc:creator>
      <dc:date>2014-08-12T08:54:10Z</dc:date>
    </item>
  </channel>
</rss>

