Search…

X3 Photo Gallery Support Forums

Search…

Search found 7 matches

by rampageX
05 Feb 2022, 18:44
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

https://is.gd/vA6B9w In your screenshot on the RIGHT , I see that all latin characters+unicode are sorted correctly , and it's now consistent (when navigating and re-sorting), and that is the fix. On your system (Chinese OS browser, I don't know what combo), it is sorting Chinese BEFORE Latin, beca...
by rampageX
05 Feb 2022, 08:09
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

mjau-mjau wrote: New version 0.4.1
Please check sorting. I think "inconsistent sorting" / "sorting chaos" is resolved.
https://demo.files.gallery/?tests/sorting

Let me know!
Image
by rampageX
03 Feb 2022, 22:28
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

* continued from my last post 5. PHP sort I notice that strnatcasecmp() sorting from PHP might offer better sorting in some cases. It's difficult to use PHP for "live" sorting from the interface (without re-loading from server), but I could perhaps store the PHP sort on initial folder load and use ...
by rampageX
03 Feb 2022, 22:28
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

Pure chinese words sorting is difficult, the 'perfect' way is: 1. Sort chinese words by 'PINYIN' first, as '非洲'=FeiZhou, '中国'=ZhongGuo,  F < Z, then 非洲 will be front of 中国; 2. if chinese wors have same 'PINGYIN', as '中国'=ZhongGuo, tha same as '中过'=ZhongGuo, we must sort these two words with Unicode ...
by rampageX
01 Feb 2022, 23:51
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

https://is.gd/bScIEV Chinese OS,  the bottom 3x arrays all sort the two Chinese words correctly .  But the whole actual ordering should be: 2name    10name    aa    BBB     xx       非洲     中国 dont know how ' zèbre ' 'écureuil' will be sort, but i am sure all the latin words will be front of chinese...
by rampageX
01 Jan 2022, 10:08
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

Not press, just want to know progress... Can I ask for testing purpose, is the issue resolved if you add this at top of the files app index.php? setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8"); It seems to fix another issues for Chinese user, see Github issue . Sorry for the delay, as I was busy with th...
by rampageX
22 Dec 2021, 09:28
Forum: Files App
Topic: Sorting is inconsistent in some locales when files have mixed character-sets
Replies: 21
Views: 16083

Re: Sorting is inconsistent in some locales when files have mixed character-sets

mjau-mjau wrote:
amwpsaa wrote:When can this problem be fixed? Very important.
Need to finish some Files app documentation first. Will release a new version by end of next week with a solution.
Not press, just want to know progress...