讓 VLC media player 正常顯示 .srt 中文字幕
環境: Linux Mint 16 x86_64, VLC media player 2.0.8, LANG=en_US.UTF-8 Windows Vista x64 繁體中文, VLC media player 2.1.2 環境: Linux Mint 16 x86_64, VLC media player 2.0.8, LANG=en_US.UTF-8 前置作業: 將 Big5 編碼的 .srt 檔案轉成 UTF-8 編碼 
$ iconv -f big5 -t utf8 subtitle.srt > subtitle-utf8.srt

方式一: 調整 VLC 設置

$ vlc → Tools → Preferences Subtitles & OSD: Default encoding: Universal (UTF-8), Font: WenQuanYi Micro Hei (圖) Show settings: All → Input / Codecs → Subtitles codecs → Subtitles: 取消勾選 UTF-8 subtitles autodetection, 取消勾選 Formatted Subtitles (圖) Save 之後, 重新啟動 VLC Player, 載入影片、載入 subtitle-utf8.srt

方式二: 修改 /etc/fonts 設定檔

$ cd /etc/fonts/conf.avail
$ sudo cp 49-sansserif.conf 49-sansserif.conf.backup
$ sudo vi 49-sansserif.conf WenQuanYi Micro Hei WenQuanYi Micro Hei monospace WenQuanYi Micro Hei
上一篇
下一篇