2009-08-03

The Square in Subtitle of VLC

Sometimes when watching videos using VLC 1.0.1 with subtitle srt file, there are squares instead of readable characters in the substitle. Usually, each square is a Chinese character. When opening the srt file using a word processor with appropriate encoding (Big5, GB2312, GB18030 or Unicode), the Chinese character can be read. However, VLC 1.0.1 simply cannot display the Chinese character correctly. You can only see squares. How to handle this situation ?

First of all, convert the srt file to Unicode.

Then config the VLC 1.0.1 as follows:
  1. Open VLC 1.0.1
  2. In the main menu, click Tools
  3. Click Preferences
  4. On the LHS, click Subtitles & OSD
  5. In Subtitles Language > Default encoding, choose Universal, Chinese (GB18030)
  6. In Display Settings > Font, input the fullpath filename of the font : Font Arial Unicode MS
How to find out the fullpath filename of a font ? All fonts should be inside the directory %SystemRoot%\Fonts. Simply open this directory using details view. The filename (XXXXXXXX.TTF) should be displayed next to the column Font Name

By the way, using this method, the srt file must be in unicode and should be stored using UTF-8 format. Using UTF-16 LE format will make VLC displaying one or two question marks at the end of subtitle lines.


0 comments: