<?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 SV:Chinese characters sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186873#M50781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John!&lt;/P&gt;&lt;P&gt;This is real interesting that I got correct in my Chinese system but wrong in the English system with the same qvw file!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 04:12:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-29T04:12:52Z</dc:date>
    <item>
      <title>Chinese characters sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186870#M50778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I'm from china!&lt;/P&gt;&lt;DIV dir="ltr"&gt;Recently I found an interesting thing.I have two operation system,one is English and the other is Chinese! When I do the sort operation with the same qvw file in this two system.I got a different thing.&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2848_sourceID:2848" /&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;pic 1:this one is in the english system and is wrong&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2849_sourceID:2849" /&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;Pic 2: this is in the chinese system and is right.&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;Can anyone help me ?&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 08:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186870#M50778</guid>
      <dc:creator />
      <dc:date>2010-11-15T08:57:23Z</dc:date>
    </item>
    <item>
      <title>SV:Chinese characters sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186871#M50779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think you can expect chinese charachters to be sorted correctly in an english based setting. Perhaps you could explicitly map the sort order in the loading part of the script.&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 11:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186871#M50779</guid>
      <dc:creator />
      <dc:date>2010-11-15T11:03:06Z</dc:date>
    </item>
    <item>
      <title>SV:Chinese characters sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186872#M50780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my English copy of QlikView, it says that sorting is done by the ASCII standard. That wouldn't work for Chinese Characters, which I assume are in UTF-8?&lt;/P&gt;&lt;P&gt;Now, I would have THOUGHT that QlikView would be smart enough to realize that if you loaded a table in UTF-8, that you want to sort by UTF-8 as well. But maybe it isn't, and the help text seems to indicate that it isn't. I suppose it isn't technically a bug in that case, since it is working as stated, but it sure seems like a missing feature!&lt;/P&gt;&lt;P&gt;Michael's solution sounds reasonable to me. As I interpret it, you would add a "MajorCategoryNameSequence" field during the load. As long as you do the load in the Chinese system, I would expect you to be able to establish this field correctly. Then I believe you should be able to enter "MajorCategoryNameSequence" as the default sort expression for "MajorCategoryName". I suspect it would work.&lt;/P&gt;&lt;P&gt;Edit: Or you could use the dual() function to assign the sequence number directly to the MajorCategoryName. Then just sort by numeric instead of by text value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 01:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186872#M50780</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-16T01:32:36Z</dc:date>
    </item>
    <item>
      <title>SV:Chinese characters sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186873#M50781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John!&lt;/P&gt;&lt;P&gt;This is real interesting that I got correct in my Chinese system but wrong in the English system with the same qvw file!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 04:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chinese-characters-sorting/m-p/186873#M50781</guid>
      <dc:creator />
      <dc:date>2010-11-29T04:12:52Z</dc:date>
    </item>
  </channel>
</rss>

