Page 1 of 1

Display subtitle characters problem

Posted: 02 Mar 2020 14:39
by -neco-
Hello
Another subtitle issue. I have truobles by all *.srt subtitles and the problem is that some letters are not displayed correct. It affect some special letters in Slovenian (si) and Croatian (hr) language, central Europe. These are č, Č, đ.
The same problem I have on windows and android version of VLC. All default settings. I assume that this is a bug, because I haven's such problem in all other common Media players (eg. Bs player, Gom player)

On the link is provided some subtitles and printscreen for better issue illustration. Let some other (developer) check and confirm if this is bug to have to be reported?
[url]https://drive.google.com/file/d/1zgpsU9nmINSkjjVh2qb9kwv80IEU_obe/view?usp=sharing[/url]

Re: Display subtitle characters problem

Posted: 02 Mar 2020 15:17
by mederi
Do not hijack topics for different problems! (Split from "Display subtitle language" topic)
Check the setting for subtiles decoding cp in VLC preferences: Tools > Preferences > Subtitles/OSD: Default encoding [Windows-1250]

Re: Display subtitle characters problem

Posted: 02 Mar 2020 23:39
by -neco-
It works now. Thank you!
Is there some way, that this characters is as should be without changing the settings? Just imagine, it affect a lot of people.

Re: Display subtitle characters problem

Posted: 08 Mar 2020 14:57
by mederi
That's a good point. The first run of VLC could set a proper Windows ANSI subtitle encoding according to detected language. Later it can be changed in VLC preferences. Please file a feature request https://trac.videolan.org/vlc/

Re: Display subtitle characters problem

Posted: 08 Mar 2020 18:08
by Rémi Denis-Courmont
That's a good point. The first run of VLC could set a proper Windows ANSI subtitle encoding according to detected language. Later it can be changed in VLC preferences. Please file a feature request https://trac.videolan.org/vlc/
No, don't file a bug because VLC already picks a default character encoding based on the user interface language. It will never work for everybody though. Just use Unicode subtitles if you don't want to have to worry about that.

Re: Display subtitle characters problem

Posted: 08 Mar 2020 20:04
by mederi
You are right. The default subtitle encoding depends on a selected UI language. I forgot that the UI language setting is stored separately in Windows registry and whenever I run a new stable/nightly VLC version in portable mode with an empty "portable" folder in VLC folder, VLC already starts with a preferred UI language (English) and it is the subtitle encoding setting (1250) that I always have to set manually.