Page 1 of 1

unable to display Unicode subtitle correctly.. pelase help

Posted: 29 May 2007 14:47
by OniShinobi
I have a .srt file as the subtitle file. It is in Simplified Chinese and is saved as a Unicode text file. When i open it with Notepad, all of the characters display correctly.

After reading pretty much of these issues, i've changed the Subtitle Text renderer file that vlc uses, to Arial Unicode (True Type). Now vlc displays the chinese characters, instead of the usual squares but another problem has occurred.

For most of the subtitle sentences, there will be 2 question marks at the end of the line. I've discovered that the original subtitles disappears after that 2 questions.

What i literally mean is that, if the line consists of 5 characters:
Q W E R T

Whats displayed inside vlc is
Q W E ? ?

Thats the prob that i get. But by adding a number of spaces infront or behind the subtitles equivalent to the number of missing characters, the missing character will appear..

Means if i edit the .srt file from
Q W E R T

To:
? ? Q W E R T
-or-
Q W E R T ? ?

All the chinese characters will then be displayed..

Sorry for the long descriptions, please do help me..

Posted: 29 May 2007 14:50
by Jean-Baptiste Kempf
What is your VLC version ?

Posted: 30 May 2007 14:19
by OniShinobi
thanks for reading. My vlc player version is 0.8.6a. I'm running it on windows XP.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 18 Jan 2008 10:26
by sleepybird
Hi I came across this thread while searching for solution to the same problem as OniShinobi. OniShinobi, did you solve the problem? My VLC version is 0.8.6d, running on winxp. If yes, can you share the solution? Thanks.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 05 Jul 2008 04:28
by rn_1604
I've tried your method and finally got the chinese subs out too. But I get the same problem as you too (with the 2 ? at the end replacing the last 2 chinese words). Any solutions yet?

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 05 Jul 2008 15:34
by VLC_help
Have you tried nightlies?
http://nightlies.videolan.org/

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 06 Jul 2008 04:05
by rn_1604
Nope i have not tried the nightly builds. But is it stable to use them?

Edit: nvm i've tried it and it's worse than the stable release... now displays square boxes again...

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 06 Jul 2008 14:27
by VLC_help
If you get wrong output with nightlies, you should make bug report to trac.
http://trac.videolan.org/vlc/

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 11 Jul 2008 17:42
by rn_1604
so any solutions so far?

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 11 Jul 2008 18:06
by VLC_help
AFAIK no.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 12 Jul 2008 10:56
by OsamaK
I had same problem in Arabic subtitle file. look at this topic.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 29 Jul 2008 10:22
by rn_1604
solutions?

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 01 Jul 2009 12:34
by panowee
Hi,

I'm experiencing the exact same problem as descibed in the first post of this thread. However, I'm on a Mac (Mac OS X 10.5.7 and VLC 0.9.9a Grishenko (Intel)), so this problem might not be Windows-specific.

Here are two screenshots showing the problem:

Image
http://picasaweb.google.com/lh/photo/hf ... directlink

Image
http://picasaweb.google.com/lh/photo/7A ... directlink

Changing the encoding to many different types did not help.

It does not happens with all subtitle files. I can send this .srt file to any developer who is interested in looking into this problem, just send me a private message.

Thanks,
Peter

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 12 Jul 2009 02:59
by panowee
Problem still exists in VLC 1.0.0 on Mac OS X.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 12 Jul 2009 16:03
by VLC_help
Problem still exists in VLC 1.0.0 on Mac OS X.
This is Windows subforum.

Re: unable to display Unicode subtitle correctly.. pelase help

Posted: 13 Jul 2009 01:16
by panowee
I don't know how, but I think this entire topic should be moved to a general bugs-sections, since the reports came in from both Windows and Mac users.