Subtitles, charset page

5 views
Skip to first unread message

Razvan G

unread,
Sep 4, 2010, 2:46:42 AM9/4/10
to MPlayer CE
I have this problem with the subtitles, some characters are not
displayed or are displayed incorrectly (romanian language).
I have tried to look in the settings, did not find anything related to
encoding (charset page).
I did not try utf-8, do you think I should?
Anyway, a very quick work-around is to convert the special chars to
the "normal" equivalents. Any suggestion on how to achieve that easily
is also wellcome.
--
I try to paste here a sample of the subtitles, not sure though how
effective it will be (was not able to attach file to this message):
Văd un bărbat arătos, care va intra în viaţa ta.

Razvan G

unread,
Sep 26, 2010, 8:16:03 AM9/26/10
to MPlayer CE
Eventually, I have fixed it. I give some details in case someone else
has the same problem.
The only thing I did was to change/add this to /sd/APPS/mplayer_ce/
mplayer.conf :
slang=ro
subcp=windows-1250

It turns out, my subtitles are encoded in ansi (I find by opening with
notepad++). It also turns out, my pc is set to "fall back" to romanian
language for non-utf8 texts and programs.
I would like to thank user bolaghobrial (page "User Submitted
Customizations") since it is by reading his posts that I got the ideas
for the fix.
I did not have to put a new font file, the special characters seem to
work right away (I have standard MPlayer CE v0.77 r590)

As a side note, in order to work-around this I have written a small
tool that replaces special characters in [romanian] subtitle files
with their "unaccented" versions. The character translations are
changeable. If anyone wants it, just ask.
> Vãd un bãrbat arãtos, care va intra în viaþa ta.
Reply all
Reply to author
Forward
0 new messages