romanvm / service.addic7ed

Subtitles addon for Kodi Mediacenter
20 stars 13 forks source link

"'utf-8' codec can't decode byte 0xe9" error when trying to download a subtitle #35

Open tmortagne opened 2 months ago

tmortagne commented 2 months ago

Issue description:

I have not been able to download any subtitle recently (not exactly sure when it started and maybe it's only with new TV shows, I did not tried with much older ones) with a error log mentioning an encoding problem in the HTTP request response content apparently.

Kodi debug log: kodi-debug.log

I noticed https://github.com/romanvm/service.addic7ed/issues/31 but the error log seems different.

romanvm commented 1 month ago

Looks like French subs are encoded in win-1252 instead of UTF-8. I will fix the error.