UTF-8 .SRT subtitles

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
weizmann
New Cone
New Cone
Posts: 3
Joined: 05 Feb 2009 08:37

UTF-8 .SRT subtitles

Postby weizmann » 05 Feb 2009 09:49

I am having trouble viewing UTF-8 encoded subtitles (south asian language tamil, and hindi) in VLC 0.9.8 in Mac OS X and in Windows (VLC 0.8.6c). They show up as boxes when played. I put UTF-8 as default encoding in the Preferences ->Subtitle &OSD and also put UTF-8 in Input/output Codecs -> Other Codecs -> Subtitles -> Subtitle text encoding. Still, i get boxes for Indic language (UTF-8) subtitles. What should I do to get it displayed properly ? I read that VLC supports UTF-8 encoding.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: UTF-8 .SRT subtitles

Postby Jean-Baptiste Kempf » 05 Feb 2009 10:39

Change the font, to a unicode compatible font.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

weizmann
New Cone
New Cone
Posts: 3
Joined: 05 Feb 2009 08:37

Re: UTF-8 .SRT subtitles

Postby weizmann » 06 Feb 2009 05:41

I tried that too. I set the font to Unicode compatible fonts, still I get boxes or ????? for Indic language. The first image is from Totem player (the text looks perfectly all right)
The second image is from VLC with unicode UTF-8 settings and unicode font. (the text looks like boxes).


Image
Image

tumhara_bijoy
New Cone
New Cone
Posts: 2
Joined: 27 May 2010 12:47

Re: UTF-8 .SRT subtitles

Postby tumhara_bijoy » 27 May 2010 13:34

I was facing the same problem, and the VLC player simply failed to display HINDI fonts. With all options being explained on web were of no help. And, then I started searching for new player, and I got this Media Player Classic [MPC - HomeCinema] which could display my hindi fonts perfectly fine... Just tweek the following settings, after downloading the MPC player.
- Open MPC Player, and Press O.
- Select Playback=>Output, and under the DirectShow Video section, select VMR9 (renderless).

Yep... you are ready to go... :)
And, yes, you can tweak the style of your subtitle as well from Subtitles => Default Style.

weizmann
New Cone
New Cone
Posts: 3
Joined: 05 Feb 2009 08:37

Re: UTF-8 .SRT subtitles

Postby weizmann » 25 Oct 2011 16:45

VLC still does not support Complex script South Asian languages ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: UTF-8 .SRT subtitles

Postby Rémi Denis-Courmont » 25 Oct 2011 17:18

As far as I know, it does and it's had for a long time. But your mileage may vary depending on your VLC build and system-available fonts.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pike
New Cone
New Cone
Posts: 2
Joined: 03 Nov 2011 23:54

Re: UTF-8 .SRT subtitles

Postby pike » 04 Nov 2011 00:12

I did this:

Tools/Preferences

than i changed at the bottom to simple view. Just for me to have better overview.

Next:

"Subtitles & OSD"

Then under "Default encoding" i selected from dropdown list: Universal (UTF-8)

and look at there.................everything works perfectly. No more ???? !!!! %%%

Just to be shure that everything goes fine i have inserted under "Preferred subtitle language": Croatian

And Font was set to default: Arial.

Maybe this will help you.

shrabanti
New Cone
New Cone
Posts: 5
Joined: 23 Dec 2011 07:35

Re: UTF-8 .SRT subtitles

Postby shrabanti » 23 Dec 2011 09:53

Hey pike,

Your tip did work once for me. Great.
But when I replayed it and the same problem arises.
In result : ???? !!!.
Do you know to fix this uni-coding problem permanently?
I was trying this for HIndi and Bengali font. Thanks.

pike
New Cone
New Cone
Posts: 2
Joined: 03 Nov 2011 23:54

Re: UTF-8 .SRT subtitles

Postby pike » 27 Dec 2011 11:02

Will try and give u a note later.

Jacque
New Cone
New Cone
Posts: 2
Joined: 05 Feb 2012 19:37

Re: UTF-8 .SRT subtitles

Postby Jacque » 05 Feb 2012 19:39

I have been having the same issue with the subtitles not working when I watch videos. I appreciate this information, hopefully I can finally get it working. This is especially annoying, since wouldn't you know that I also happen to be having subtitle issues with my cable movies. This has been such a problem for me lately that I was actually thinking of checking out dish tv in hopes that they won't be so quirky. I have been pretty frustrated with my cable across the board, so I am really hoping that the dish tv thing works out to be an improvement from inadequate service I currently get. Thanks for your help guys!

jivan
New Cone
New Cone
Posts: 1
Joined: 04 Nov 2012 14:01

Re: UTF-8 .SRT subtitles

Postby jivan » 04 Nov 2012 14:11

I was having a similar problem with UTF-8 Chinese subtitles not displaying.
As an aside, when you get boxes or question marks instead of subtitles, it's almost always because the subtitle file isn't the encoding you think or you need to use a different font that can display that language.

The problem I was having was that nothing at all showed up for subtitles. I verified both the encoding of the file and the font I was using. The problem was solved by turning off the 'UTF-8 subtitles autodetection' option under Input / Codecs -> Subtitles Codecs -> Subtitles

Hope that helps someone else.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: UTF-8 .SRT subtitles

Postby Rémi Denis-Courmont » 04 Nov 2012 16:53

Question marks mean the encoding is wrong. Boxes usually mean the selected font lacks the needed characters.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests