Page 1 of 1

Consecutive whitespace in SRT subtitles suddenly ignored?

Posted: 09 Feb 2013 14:08
by Techflaws
This has changed only recently but as with HTML, VLC suddenly only shows one whitespace between characters, even if the item has more.

Code: Select all

1 00:00:02,631 --> 00:00:03,915 T H A T G R E A T S H O W
is displayed as

Code: Select all

T H A T G R E A T S H O W
which is quite unreadable. While this may seem cosmetic, there are some subs where horizontal positioning is necessary, e.g. when several people are talking at once:

Code: Select all

22 00:00:44,638 --> 00:00:46,087 - Are you guys sure? - Yes. - Nope.
Would be nice if VLC would display these as before (in version 2.01 for example) and as all my standalones.

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Posted: 09 Feb 2013 17:53
by Jean-Baptiste Kempf
Disable rich text subtitles in prefs.

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Posted: 11 Feb 2013 11:53
by Techflaws
Where do I find this setting? Preferences > all > search > "rich" turns up nothing. Browsing Perferences > Subtitles/OSD turns up Input Codecs > Subtitle Codecs > Subtitles > Formatted subtitles which when unchecked indeed shows consecutive whitespace but - as the name implies - ignores <b>, <i>, etc.

And why was the default setting change in the first place? I haven't changed any of these settings manuall and I always delete all settings when installing a new version of VLC. Thx.

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Posted: 11 Feb 2013 16:02
by Jean-Baptiste Kempf
Of course, because spaces in HTML are supposed to be condensed.

So either you get b, i, u or you get non-condensed spaces.

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Posted: 12 Feb 2013 17:59
by Techflaws
I guess I've always considered it a not really specifed plain-text format so when extending it with HTML tags why add condensed spaces which are completely pointless in SRT (and sucked in HTML, like forever)? Oh, well.

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Posted: 12 Feb 2013 18:47
by Jean-Baptiste Kempf
Use HTML entities