Everything can not sort Chinese in right order

Have a suggestion for "Everything"? Please post it here.
Post Reply
jieyuan_1981
Posts: 1
Joined: Wed Mar 23, 2022 12:10 pm

Everything can not sort Chinese in right order

Post by jieyuan_1981 »

For example, there are Chinese lines:
麦克
牛津
朗文
柯林
韦氏
剑桥
美国
英汉
大英
choose View > Sort By > ascending
result in:
剑桥
大英
朗文
柯林
牛津
美国
英汉
韦氏
麦克
this is not the right order, the right one should be:
大英
剑桥
柯林
朗文
麦克
美国
牛津
韦氏
英汉
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything can not sort Chinese in right order

Post by tuska »

Just out of interest, I did an ascending sort in EmEditor:
 
2022-03-23_Sort by ascending - Chinese - Everything and EmEditor.png
2022-03-23_Sort by ascending - Chinese - Everything and EmEditor.png (30.31 KiB) Viewed 3016 times
 
The ascending sorting of Everything (2) and EmEditor (3) is identical in this example.

Since I have nothing else to contribute to this topic, this topic is closed for me ;)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Everything can not sort Chinese in right order

Post by NotNull »

Good thinking!

File Explorer uses the same Everything/EmEditor sort order.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything can not sort Chinese in right order

Post by tuska »

Total Commander uses the same Everything/EmEditor sort order.
 
2022-03-23_Total Commander_Sort methods.png
2022-03-23_Total Commander_Sort methods.png (20.51 KiB) Viewed 3012 times
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Everything can not sort Chinese in right order

Post by NotNull »

tuska wrote: Wed Mar 23, 2022 1:36 pm Since I have nothing else to contribute to this topic, this topic is closed for me ;)
I *knew* you could not leave it at that :lol: ;)


On topic:
Is Total Commander 100% Unicode? (doesn't 'feel' that way).

Tablacus Explorer - I thought it's developer was Chinese, but after checking more likely to be Japanese - uses the same sorting method too.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything can not sort Chinese in right order

Post by tuska »

NotNull wrote: Wed Mar 23, 2022 3:00 pm
tuska wrote: Wed Mar 23, 2022 1:36 pm Since I have nothing else to contribute to this topic, this topic is closed for me ;)
I *knew* you could not leave it at that :lol: ;)
Yes, you are right, but I wanted to express that I am not a specialist in the subject of "sorts". :)
NotNull wrote: Wed Mar 23, 2022 3:00 pm On topic:
Is Total Commander 100% Unicode? (doesn't 'feel' that way).
I'm not 100% sure.
The TC - HISTORY.TXT might give you information.
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything can not sort Chinese in right order

Post by void »

Everything loosely follows the Unicode Collation Algorithm.

Everything uses allkeys.txt for sorting weights.


Siniform ideographs — most notably modern CJK (Han) ideographs — and Hangul syllables are not explicitly mentioned in the default table. Ideographs are mapped to collation elements that are derived from their Unicode code point value as described in Section 10.1.3, Implicit Weights. For a discussion of derived collation elements for Hangul syllables and other issues related to the collation of Korean, see Section 10.1.5, Hangul Collation.
Derived Collation Elements


In other words, Everything currently sorts CJK characters by Unicode Code Point.
Post Reply