|
Composer sorting with accented characters
|
|
26-01-2021, 09:03
Post: #4
|
|||
|
|||
|
RE: Composer sorting with accented characters
Every time a list of names is sent by MinimServer to the control point, the list needs to be sorted. These lists cannot be sorted on rescan because MinimServer's Intelligent Browsing creates all browsing paths and result lists dynamically on demand.
Java has APIs that sort by locale-dependent Unicode collation but these involve a lot of complex computation and runtime overhead. The sorting algorithm used by MinimServer is hand-written, simple and fast. It would be possible to extend this hand-written algorithm to cover the first 512 or 768 Unicode codepoints rather than the first 256. The main issue with this is understanding the correct collation order for characters such as Ȑ Ș Ȥ (perhaps fairly intuitive) and Ƞ Ȝ Ƿ Ƕ (much less intuitive, at least to me). |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Composer sorting with accented characters - luijten - 25-01-2021, 20:44
RE: Composer sorting with accented characters - simoncn - 25-01-2021, 23:02
RE: Composer sorting with accented characters - luijten - 25-01-2021, 23:59
RE: Composer sorting with accented characters - simoncn - 26-01-2021 09:03
RE: Composer sorting with accented characters - simbun - 26-01-2021, 12:44
RE: Composer sorting with accented characters - luijten - 26-01-2021, 19:03
RE: Composer sorting with accented characters - simoncn - 26-01-2021, 13:15
RE: Composer sorting with accented characters - simoncn - 26-01-2021, 21:48
RE: Composer sorting with accented characters - luijten - 27-01-2021, 00:45
RE: Composer sorting with accented characters - simoncn - 28-01-2021, 23:18
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



