Summary: | [Feature Request] Support sorting files by Chinese numbers | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | bgt <2793603265> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | isma.af, kfm-devel |
Priority: | NOR | ||
Version: | 21.08.0 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Chinese number sorting |
Description
bgt
2021-08-21 01:39:02 UTC
Created attachment 140913 [details] Chinese number sorting That's an interesting request. Thanks! Sorting of chinese numbers fails, first on a string level, because their unicode representations are not sorted as the numbers they represent. Instead they get sorted as 1 7 3 2 5 9 8 6 10 4 (https://shkspr.mobi/blog/2016/11/how-do-you-sort-chinese-numbers/). For what I've checked up, for advanced sorting, dolphin relies on the Qt sorting mechanism through the class QCollator, which supports internationalization. I think this might be an issue which is worth to fix upstream. (In reply to Ismael Asensio from comment #1) > Created attachment 140913 [details] > Chinese number sorting > > That's an interesting request. Thanks! > > Sorting of chinese numbers fails, first on a string level, because their > unicode representations are not sorted as the numbers they represent. > Instead they get sorted as 1 7 3 2 5 9 8 6 10 4 > (https://shkspr.mobi/blog/2016/11/how-do-you-sort-chinese-numbers/). > > For what I've checked up, for advanced sorting, dolphin relies on the Qt > sorting mechanism through the class QCollator, which supports > internationalization. > > I think this might be an issue which is worth to fix upstream. So, will this feature be considered? And is It feasible to convert Chinese numbers into Arabic numbers before sorting?But...there're also problems.For example Chinese numbers don't always represent Arabic numbers in meaning... |