[vlc-devel] [VLC] #3800: Subtitle character encoding autodetection returns wrong value under Win32

Rémi Denis-Courmont remi at remlab.net
Fri Jun 25 18:18:17 CEST 2010

On Fri, 25 Jun 2010 18:00:00 +0200, Jean-Baptiste Kempf <jb at videolan.org>
> On Fri, Jun 25, 2010 at 05:41:37PM +0200, Rémi Denis-Courmont wrote :
>> I wrote the subtitle auto-detection (in 0.8.something). I think I know
>> better than you or forum whiners how it works. Not to mention that we
>> discussed it on translators@ not so long ago.
> Oh, yes you do. Still so many people complain that something must be
> wrong and it might be just the same issue as the wrong language
> translation on some Win32 machine.

Unfortunately, I know at least four different problems that can cause this,
but none of them are bugs in the character detection.

First, incomplete or incorrect translation (PO) files will use CP1252, just
like unknown (or not updated) localizations fell back to CP1252 in 1.0 and

Second, some people put their VLC in English because they do not like
software localization, but they play subtitles in their mother tongue (not
English). That simply cannot work (unless the mother tongue is also a
Western European language). We already discussed this in translators. Those
people simply have to select the character set in the preference. I already
changed the description of the default setting yesterday to clarify that.

Third, translations do not work if you run VLC from the build tree.

Last, VLC gettext may be broken. I will check that when I have more time.

Rémi Denis-Courmont

More information about the vlc-devel mailing list