vlc incorrectly opens cp1251 encoded sutitles
Bug #401911 reported by
Ilya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VLC media player |
Invalid
|
Undecided
|
Unassigned | ||
libass (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
vlc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vlc
1) Ubuntu 9.04
2) vlc 0.9.9a-2ubuntu1
This is what happened: i opened the .avi file with the same name as .ass file (in the attachment), and subtitles loaded in wrong encoding, they where like "Ïîêà íåëüçÿ ïåðåâîðà÷èâàòü, ÿñíî?" and should be like "Пока нельзя переворачивать, ясно?", "Default encoding" option was properly set to cp1251.
After what i did:
iconv -f cp1251 -t utf8 xxx.ass > yyy.ass
vlc yyy.avi
and it loaded properly, even thought i didn't change "default encodig" option. This suggests what in this case it just sets the utf8 encoding no matter what, and should set cp1251 by user's choice or automatically.
description: | updated |
Changed in vlc (Ubuntu): | |
status: | New → Incomplete |
Changed in vlc: | |
assignee: | nobody → Rémi Denis-Courmont (rdenis) |
status: | New → Invalid |
status: | Invalid → Confirmed |
Changed in vlc: | |
milestone: | none → 1.0.4 |
Changed in vlc (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in vlc: | |
milestone: | 1.0.4 → none |
To post a comment you must log in.
The subsdec-encoding setting which you can find in the VLC preferences panel only applies to VLC-decoded subtitles. The Ubuntu VLC package uses libass instead of native VLC decoding for .ass files, so it ignores the value. There is no apparent ways to fix this with the current libass API.
My best guess is that this is a bug in the underlying libenca. Reassigning to libass anyway.