Opened 11 years ago

Closed 7 years ago

#9668 closed bug (fixed)

MediaPlayer does not display correctly subtitles in Polish language, which were created on Windows (CP-1250).

Reported by: Premislaus Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: Cc:
Blocked By: #9654 Blocking:
Platform: All

Description

From #9654

Most of the subtitles in the Polish language is created under Windows (with default CP-1250 encoding for Polish). Subtitles do not displays correctly and are trimmed. Does not help overwriting the file with CP-1250 encoding.

If subtitles were originally saved with UTF-8 it working properly!

Attachments (4)

Media_Player_wrong_display_UTF-8_and_CP-1250.png (476.7 KB ) - added by Premislaus 11 years ago.
MediaPlayer_subtitles_with_original_UTF-8.png (326.8 KB ) - added by Premislaus 11 years ago.
subtitles_UTF-8.png (66.5 KB ) - added by Premislaus 11 years ago.
subtitles_CP-1250.png (67.5 KB ) - added by Premislaus 11 years ago.

Download all attachments as: .zip

Change History (7)

by Premislaus, 11 years ago

Attachment: subtitles_UTF-8.png added

by Premislaus, 11 years ago

Attachment: subtitles_CP-1250.png added

comment:1 by Premislaus, 11 years ago

iconv -f CP1250 -t UTF-8 < file.srt > new.srt - this command works! Before I changed the encoding by using StyleEdit.

Now need to change the name of the ticket? StyleEdit bug? pdziepak has recently added a CP-1250 encoding - hrev45475. I thought that the files will be loaded with the appropriate encoding.

If you change in StyleEdit the SRT file encoding. StyleEdit properly displays a set of characters. MediaPlayer not.

Last edited 11 years ago by Premislaus (previous) (diff)

comment:2 by pulkomandy, 9 years ago

Can you provide a sample srt file for testing?

comment:3 by pulkomandy, 7 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev51192.

Note: See TracTickets for help on using tickets.