mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 08:35:58 +03:00
[GH-ISSUE #518] Names in a RTL language are reversed. #213
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@rafi commented on GitHub (Sep 23, 2020):
Would be great. I guess something like this https://github.com/servo/unicode-bidi is needed
@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?
@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.