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

entire lines of subtitles with east european characters are not shown. #3954

Closed
darkdinu opened this issue Dec 28, 2016 · 2 comments
Closed

Comments

@darkdinu
Copy link

darkdinu commented Dec 28, 2016

mpv 0.23.0-1 debian sid

after mpv was updated to the latest version, in debian sid, subtitles are not correctly shown.
to reproduce it, open a movie with east european subtitles and the lines that contain non ansi characters are not listed at all. i don't use east european fonts, until now the characters were listed as signs, but now the entire line is missing. so it's not because of a setting. at least i hope so.
this is the error listed in the terminal:
[ffmpeg] srt: Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option
[sub/ass] Error decoding subtitle

logfile: http://pastebin.com/sLs7bU4R

if it is possible to post a solution until the issue is resolved, i would appreciate it.
thank you in advance and keep up the good work.

@ghost ghost closed this as completed in 35716b5 Dec 28, 2016
@ghost
Copy link

ghost commented Dec 28, 2016

Specify an explicit codepage, or compile with uchardet, or use mpv git master.

@darkdinu
Copy link
Author

darkdinu commented Dec 28, 2016

thank you for the quick response.
from your answer, i deducted to use this line "sub-codepage=UTF-8-BROKEN" in ~/.mpv/mpv.conf and now it works. i posted it here, so someone who needs a quick fix and doesn't understand the solution, can use it.
happy holidays to you and your family.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant