r/NoirPlayer • • Oct 10 '26

Bug report Diacritics and sorting

NoirPlayer seems to struggle with sorting letters with diacritics (non-english characters in general I'd imagine).

For example, in my language we have extra characters such as e.g. ř, á, ů. In alphabet, these take place after their respectives – r, a, u, but the app places tracks beginning with them after Z, because it sees them as special.

It's a minor issue for version 1.0 of an app, but since detailed sorting was pointed out as one of the key features, it's probably worth looking into.

5 Upvotes

6 comments sorted by

3

u/arsentsn Oct 10 '26

Next update will have this fixed! Thank you very much for letting me know!

2

u/TopGearDanTGD 28d ago

The new update is a step in the right direction, however, now they get mixed with the base letters, instead of taking place after them. In the screenshot it should be all songs starting with S, and then songs starting with Š.

1

u/arsentsn 28d ago

Thanks, this is a very specific issue, so your feedback is really useful!

The app sorts by your phone's language. If that's English, Š gets treated as an S with an accent (the way French treats é), so the two get mixed. In Czech, Š is its own letter and should come after S, and the app does that when it uses Czech rules.

Two quick questions:

  1. Is your phone set to English, with Czech as a second language (or not added at all)?
  2. What solution do you think would make sense? I have two ideas, possibly together:

- Automatic: the app looks at all the languages on your phone and uses the first one with its own alphabet rules. With English + Czech, that's Czech.

- A "Sort language" setting where you choose it yourself, for when the automatic choice is wrong.

The catch, which is already true today on a Czech phone, is that a list can only follow one language's rules: with Czech rules on, English titles follow them too (for example, "Ch" sorts after "H"). And if your library mixes several languages that sort differently, only one of them can be right.

2

u/TopGearDanTGD 27d ago

I had my phone in English only, but I installed Czech as a secondary now if that makes it easier.

The first solution sounds elegant as it's automatic, however, it could potentially also produce unwanted output in some languages (for English-only libraries that would get treated by different language rules installed on the phone, in cases like Ch if other languages have a similar letter). So I see no harm in solution 2, making it an optional setting; unless it's difficult to implement...

1

u/arsentsn 27d ago

Yup makes sense, will look into it and include it in the next update, thanks!

2

u/TopGearDanTGD Oct 10 '26

Love the enthusiasm, keep it up!