Linux Flash 中文亂碼的解決

|
青年是宝藏,青年是黄金;宝藏要挖掘,黄金需熔炼。 ——藏克家

Linux Flash 中文亂碼的解決

安裝了Flash播放器,播放正常,但中文全是亂碼,解決方法如下:

打開配置文件:
cd /etc/fonts/conf.d/
sudo gedit 49-sansserif.conf

修改edit節點,將<string>sans-serif</string>
改為 <string>sans</string>

<match target=”pattern”>
<test qual=”all” name=”family” compare=”not_eq”>
<string>sans-serif</string>
</test>
<test qual=”all” name=”family” compare=”not_eq”>
<string>serif</string>
</test>
<test qual=”all” name=”family” compare=”not_eq”>
<string>monospace</string>
</test>
<edit name=”family” mode=”append_last”>
<string>sans-serif</string>     <———————————— <string>sans</string>
</edit>
</match>
Linux Flash 中文亂碼的解決

相关文章

One Response to “Linux Flash 中文亂碼的解決”

  1. s1m0ne Says:

    正解! 这是这个问题最简单最有效的解决方法!

发表评论