ralph-irving / squeezeplay

Squeezeplay software player for Lyrion Music Server.
https://sourceforge.net/projects/lmsclients/files/squeezeplay/
50 stars 14 forks source link

Right to Left languages are displayed incorrectly #12

Open arnonm opened 1 year ago

arnonm commented 1 year ago

Right to left titles are displayed incorrect. If a title is "9876543210" - where 0 is the first letter, we expect it to be shown as 987654321. Instead it is shown on the display as 0123456789

A similar problem existed in the perl original code. It was resolved by the introduction of the hebrewflip function in https://github.com/Logitech/slimserver/blob/7454c1c38eb9e8be8a6346422787029cb81f5e4b/CPAN/Locale/Hebrew.pm#L29

kerneljake commented 2 weeks ago

I have begun investigating a solution for RTL languages. It is a rather heavy lift (so to speak), but I am making progress. image