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
There are character encoding errors when pulling data from TMDB (See screenshot). This effects all movie and show titles, as well as tags and video descriptions.
Steps to Reproduce
Run fresh cloned master
browse localhost:8080
log in
fill first time form, setting tmdp api language to "de"
Go to manage content tab
Type "game of thrones" into Search Show from collection or TheMovieDb..
Click "Add and open" button on the Game of Thrones cover
Click "Fetch Episodes" button, enter 1 in popup, klick "ok" button
Click "Edit" Button on Episode S01E02.
There are encoding erros both in the episodes title and the description
Expected Behaviour
Streama uses correct utf-8 encoding,
Actual Behaviour
I tested the TMDB API at the Strings returned from there are fine so Streama messes them up somewhere,
I debugged Streama and i think i found the problem.
I have no experience with groovy but i was able to find that URL(..).text, which is used all over the place in TheMovieDbService.groovy and TheMovieDbController.groovy, returns those Strings. The solution seems to be to use URL(...).getText("UTF-8") instead. I implemented the change and tested it. It seems to work so i will send you a pull request.
The text was updated successfully, but these errors were encountered:
Issue description
There are character encoding errors when pulling data from TMDB (See screenshot). This effects all movie and show titles, as well as tags and video descriptions.
Steps to Reproduce
Expected Behaviour
Streama uses correct utf-8 encoding,
Actual Behaviour
I tested the TMDB API at the Strings returned from there are fine so Streama messes them up somewhere,
Environment Information
Solution
I debugged Streama and i think i found the problem.
I have no experience with groovy but i was able to find that URL(..).text, which is used all over the place in TheMovieDbService.groovy and TheMovieDbController.groovy, returns those Strings. The solution seems to be to use URL(...).getText("UTF-8") instead. I implemented the change and tested it. It seems to work so i will send you a pull request.
The text was updated successfully, but these errors were encountered: