Home » linux相关

解决Ubuntu下Firefox Flash插件中文乱码

25 03月 2010 Views: No Comment Tags:

打开firefox的 编辑->首选项,切换到内容标签栏,在字体&颜色那一栏点击高级,打开一个对话框,在对话框的下面将默认字符编码那一栏改为:简体中文(GB2312).

cd /etc/fonts/conf.d/

cp 49-sansserif.conf 49-sansserif.conf.bak

sudo gedit 49-sansserif.conf

将对应的内容改为:

<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>仿宋_GB2312</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>仿宋_GB2312</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>仿宋_GB2312</string>
</edit>
</match>

要确定仿宋字体已安装,之后重启Firefox就好了。

原创文章如转载,请注明:转载自Xixis Blog [ http://www.xixis.net/ ]
本文链接地址:http://www.xixis.net/archives/under-the-settlement-ubuntu-garbled-firefox-flash-plug-in-chinese.html

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.