You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the screenshot, all non-English text (more precisely, every non-ASCII character) is garbled by the app.
A quick bit of research shows that 令 is the result of mis-interpreting 令 in 令和ポップス, and that the app mis-interprets UTF-8 encoded bytes as Latin-1 (an ancient encoding that nobody serious uses today except where backwards-compatibility with 90s-2000s computer programs is critical).
Oddly enough, some sections are correctly displaying Japanese text, including the same album I used as an example! The use of Latin-1 seems not to be a hard-coded choice, but a mistake in character encoding detection somewhere. I couldn’t imagine Spotify’s API changing character encodings on the fly like that, so forcing UTF-8 should work 100% correctly.
Expected Behavior
Non-ASCII text should display correctly as UTF-8 encoded text. There must be an error introduced somewhere between receiving the data from Spotify’s API and displaying the text on screen. Perhaps some parsing function detects some UTF-8 text as Latin-1, and must be told to always use UTF-8?
Steps to reproduce
Open the app
Log into Spotify if not already done so
Make the app display non-ASCII text
Operating System
Android
Spotube version
v3.6.0
Installation source
F-Droid (Android)
Additional information
No response
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
As you can see in the screenshot, all non-English text (more precisely, every non-ASCII character) is garbled by the app.
A quick bit of research shows that
令
is the result of mis-interpreting令
in令和ポップス
, and that the app mis-interprets UTF-8 encoded bytes as Latin-1 (an ancient encoding that nobody serious uses today except where backwards-compatibility with 90s-2000s computer programs is critical).Oddly enough, some sections are correctly displaying Japanese text, including the same album I used as an example! The use of Latin-1 seems not to be a hard-coded choice, but a mistake in character encoding detection somewhere. I couldn’t imagine Spotify’s API changing character encodings on the fly like that, so forcing UTF-8 should work 100% correctly.
Expected Behavior
Non-ASCII text should display correctly as UTF-8 encoded text. There must be an error introduced somewhere between receiving the data from Spotify’s API and displaying the text on screen. Perhaps some parsing function detects some UTF-8 text as Latin-1, and must be told to always use UTF-8?
Steps to reproduce
Operating System
Android
Spotube version
v3.6.0
Installation source
F-Droid (Android)
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: