Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Incorrect Subtitle Encoding in Stremio TV App #1224

Open
HaxWitcher opened this issue Feb 24, 2025 · 0 comments
Open

[Bug]: Incorrect Subtitle Encoding in Stremio TV App #1224

HaxWitcher opened this issue Feb 24, 2025 · 0 comments
Labels

Comments

@HaxWitcher
Copy link

Stremio Platform

Android TV App

Describe the bug

Dear Stremio Development Team,

I’m experiencing an issue with subtitle encoding on the Stremio TV app. Special characters like Č, Ć, Đ, Š, Ž in SRT subtitles are not displayed correctly when streaming content from my Plex server using the Plexio addon.

Key details:

  1. All SRT subtitle files are properly encoded as UTF-8 without BOM.
  2. The subtitles display correctly on the Stremio mobile app
  3. On the Stremio TV app, the subtitles appear with incorrect characters when using the default ExoPlayer.
  4. If I switch the player to libvlc, the subtitles display correctly, but the video gets cropped, cutting off part of the picture, making it an impractical solution.

It seems like the Stremio TV app's ExoPlayer is not interpreting the UTF-8 encoding properly when displaying subtitles. This issue might be related to how the app handles the Content-Type header for text/plain without explicitly specifying charset=utf-8.

Could you please investigate this issue and consider fixing the subtitle encoding behavior in the ExoPlayer on the Stremio TV app?

To add, this issue occurs on almost all TV versions of the app, including Android, Samsung, LG, and others.

Thank you in advance for your support!

Best regards,
Nebojša

To Reproduce

...

Expected behavior

...

Screenshots

No response

Desktop (if applicable)

No response

Smartphone (if applicable)

No response

TV (if applicable)

No response

Logs

Notes

No response

@HaxWitcher HaxWitcher added the bug label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant