[GH-ISSUE #518] Names in a RTL language are reversed. #213

Open
opened 2026-02-28 14:47:47 +03:00 by kerem · 3 comments
Owner

Originally created by @ReemKish on GitHub (Jul 2, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/518

Songs/artist/album names in a right to left language (e.g. Hebrew) are displayed backwards.
Displaying RTL languages correctly is of course problematic in terminal applications, but in this case I think that simply inverting the order of characters in RTL names should fix it?
I might give it a try later on.

Originally created by @ReemKish on GitHub (Jul 2, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/518 Songs/artist/album names in a right to left language (e.g. Hebrew) are displayed backwards. Displaying RTL languages correctly is of course problematic in terminal applications, but in this case I think that simply inverting the order of characters in RTL names should fix it? I might give it a try later on.
Author
Owner

@rafi commented on GitHub (Sep 23, 2020):

Would be great. I guess something like this https://github.com/servo/unicode-bidi is needed

<!-- gh-comment-id:697246545 --> @rafi commented on GitHub (Sep 23, 2020): Would be great. I guess something like this https://github.com/servo/unicode-bidi is needed
Author
Owner

@Rigellute commented on GitHub (Sep 30, 2020):

I expect spotify-tui to display text in the form that the string arrives from the spotify API.

Are artist names correct in the API response and then somehow reversed in the tui?

<!-- gh-comment-id:701459314 --> @Rigellute commented on GitHub (Sep 30, 2020): I expect spotify-tui to display text in the form that the string arrives from the spotify API. Are artist names correct in the API response and then somehow reversed in the tui?
Author
Owner

@rafi commented on GitHub (Oct 2, 2020):

@Rigellute the response from API is ok, but RTL (Arabic, Hebrew) support means the client needs to implement the "unicode bidirectional algorithm", like the unicode-bidi library mentioned above or fribidi for example.

<!-- gh-comment-id:702895974 --> @rafi commented on GitHub (Oct 2, 2020): @Rigellute the response from API is ok, but RTL (Arabic, Hebrew) support means the client needs to implement the "unicode bidirectional algorithm", like the [unicode-bidi](https://github.com/servo/unicode-bidi) library mentioned above or [fribidi](https://github.com/fribidi/fribidi) for example.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#213
No description provided.