为什么我用firefox看优酷的Flash视频上面有乱码框框?(解决)
- bzhao
- 帖子: 254
- 注册时间: 2008-07-05 2:15
- 系统: XUbuntu
Re: 为什么我用firefox看优裤的视频上面有乱码?
我rm /etc/fonts/conf.d/ 49-sansserif.conf 后,就好了
-
- 帖子: 4
- 注册时间: 2008-12-08 0:28
Re: 为什么我用firefox看优裤的视频上面有乱码?
补充:问题已解决,虽然也不知道怎么就好了 

-
- 帖子: 13
- 注册时间: 2008-11-06 17:31
Re: 为什么我用firefox看优裤的视频上面有乱码???????是字库不好吗??????????
呵呵 ,我也试一下!!showgo 写了:brace 写了:sudo gedit /etc/fonts/conf.d/ 49-sansserif.conf
将文件里面的sans-serif字样改成你系统的字库的字体
下面有色的部份,我的是sans,所以改成了sans
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans</string>
</edit>
</match>
</fontconfig>
Thank you !!!!
我试下~
- brace
- 帖子: 243
- 注册时间: 2008-10-11 22:49
- 来自: null
Re: 为什么我用firefox看优裤的视频上面有乱码?
<?xml version="1.0"?>cloud005 写了:lz你这问题到底解决了没阿?我是ubuntu的菜鸟,才刚装的系统,胡打乱撞下也算弄的 差不多了,可是也出现LZ你说的问题,按照6楼的方法试了可是没用啊,![]()
说下你的方法啊
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans</string>
</edit>
</match>
</fontconfig>
我记得就是改这三处,这三处改成你自己系统的默认字体,我的是sans,so 我改的是sans
上帝也是单亲家长
- showgo
- 帖子: 295
- 注册时间: 2008-01-11 14:25
- 来自: 江苏工业学院
- 联系:
Re: 为什么我用firefox看优裤的视频上面有乱码?
brace 写了:<?xml version="1.0"?>cloud005 写了:lz你这问题到底解决了没阿?我是ubuntu的菜鸟,才刚装的系统,胡打乱撞下也算弄的 差不多了,可是也出现LZ你说的问题,按照6楼的方法试了可是没用啊,![]()
说下你的方法啊
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>sans</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans</string>
</edit>
</match>
</fontconfig>
正解~![]()
我记得就是改这三处,这三处改成你自己系统的默认字体,我的是sans,so 我改的是sans
-
- 帖子: 1
- 注册时间: 2007-06-19 9:38
Re: 为什么我用firefox看优酷的视频上面有乱码?
按照6楼的测试成功~~谢谢
- max4min
- 帖子: 169
- 注册时间: 2008-02-01 13:24
- 来自: 无锡
Re: 为什么我用firefox看优酷的视频上面有乱码?
/etc/fonts/conf.d/ 49-sansserif.conf
直接删除这个文件
sudo gnome-open /etc/fonts/conf.d/
找到49-sansserif.conf删除之
重启firefox就ok了
直接删除这个文件
sudo gnome-open /etc/fonts/conf.d/
找到49-sansserif.conf删除之
重启firefox就ok了
- sxdhaoren
- 帖子: 852
- 注册时间: 2008-10-01 0:20
- 系统: ubuntu kylin16.04.3
Re: 为什么我用firefox看优裤的视频上面有乱码???????是字库不好吗??????????
有错误,应该是sudo gedit /etc/fonts/conf.d/49-sansserif.confbrace 写了:sudo gedit /etc/fonts/conf.d/ 49-sansserif.conf
49-sansserifconf前面没有空格
自由软件爱好者
- showgo
- 帖子: 295
- 注册时间: 2008-01-11 14:25
- 来自: 江苏工业学院
- 联系:
Re: 为什么我用firefox看优裤的视频上面有乱码???????是字库不好吗??????????
这个是当然得,哪会有以空格开头得文件啊sxdhaoren 写了:有错误,应该是sudo gedit /etc/fonts/conf.d/49-sansserif.confbrace 写了:sudo gedit /etc/fonts/conf.d/ 49-sansserif.conf
49-sansserifconf前面没有空格




-
- 帖子: 1
- 注册时间: 2008-12-15 11:57
Re: 为什么我用firefox看优酷的视频上面有乱码?
我也出现这种情况,我也看看。
- racoonwise
- 帖子: 58
- 注册时间: 2006-11-27 17:26
- 联系:
Re: 为什么我用firefox看优酷的视频上面有乱码?
Ubuntu Geeker - http://xdp.me
今天你Ubuntu了么?
今天你Ubuntu了么?
- sleepwood
- 帖子: 13
- 注册时间: 2008-08-25 14:26
Re: 为什么我用firefox看优裤的视频上面有乱码?
汗啊,6楼给的命令多了一个空格......cloud005 写了:lz你这问题到底解决了没阿?我是ubuntu的菜鸟,才刚装的系统,胡打乱撞下也算弄的 差不多了,可是也出现LZ你说的问题,按照6楼的方法试了可是没用啊,![]()
说下你的方法啊
先执行这个
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
然后...
如果原装8.04 你可以试试把字体更换成 文泉驿正黑打开之后看见文件内容如下:
<fontconfig>
<match target="pattern">
<test compare="not_eq" name="family" qual="all">
<string>sans-serif</string>
</test>
<test compare="not_eq" name="family" qual="all">
<string>serif</string>
</test>
<test compare="not_eq" name="family" qual="all">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>
》按i进入到插入模式,修改其中第1、2和4个string元素中的字符串,就是字体的名字。将其中的字体名称换为系统中支持的名称。这个字体名称你可以在 “系统”-》“首选项”-》“外观”-》“字体”中看到名字,或者自己到/usr/share/fonts中看,都是可以的。
一般来说,可以是wqy-zenhei,微软雅黑等等,看你喜欢什么字体了。
直接编辑完保存就可以了
>Ping Windows XP:Request timed out;
>Ping Windows Vista:Destination unreachable;
>Ping Windows 2003:Unkown host name;
>Ping Ubuntu:Reply from Future: bytes=1TB time=0ms TTL=64
>Ping Windows Vista:Destination unreachable;
>Ping Windows 2003:Unkown host name;
>Ping Ubuntu:Reply from Future: bytes=1TB time=0ms TTL=64
- brace
- 帖子: 243
- 注册时间: 2008-10-11 22:49
- 来自: null
Re: 为什么我用firefox看优裤的视频上面有乱码???????是字库不好吗??????????
sxdhaoren 写了:有错误,应该是sudo gedit /etc/fonts/conf.d/49-sansserif.confbrace 写了:sudo gedit /etc/fonts/conf.d/ 49-sansserif.conf
49-sansserifconf前面没有空格


上帝也是单亲家长
- brace
- 帖子: 243
- 注册时间: 2008-10-11 22:49
- 来自: null
Re: 为什么我用firefox看优裤的视频上面有乱码?
后面那段用i进入插入模式,说的是VI吧~sleepwood 写了:汗啊,6楼给的命令多了一个空格......cloud005 写了:lz你这问题到底解决了没阿?我是ubuntu的菜鸟,才刚装的系统,胡打乱撞下也算弄的 差不多了,可是也出现LZ你说的问题,按照6楼的方法试了可是没用啊,![]()
说下你的方法啊
先执行这个
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
然后...
如果原装8.04 你可以试试把字体更换成 文泉驿正黑打开之后看见文件内容如下:
<fontconfig>
<match target="pattern">
<test compare="not_eq" name="family" qual="all">
<string>sans-serif</string>
</test>
<test compare="not_eq" name="family" qual="all">
<string>serif</string>
</test>
<test compare="not_eq" name="family" qual="all">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>
》按i进入到插入模式,修改其中第1、2和4个string元素中的字符串,就是字体的名字。将其中的字体名称换为系统中支持的名称。这个字体名称你可以在 “系统”-》“首选项”-》“外观”-》“字体”中看到名字,或者自己到/usr/share/fonts中看,都是可以的。
一般来说,可以是wqy-zenhei,微软雅黑等等,看你喜欢什么字体了。
直接编辑完保存就可以了
上帝也是单亲家长
-
- 帖子: 88
- 注册时间: 2008-11-23 20:24
Re: 为什么我用firefox看优裤的视频上面有乱码???????是字库不好吗??????????
sxdhaoren 写了:有错误,应该是sudo gedit /etc/fonts/conf.d/49-sansserif.confbrace 写了:sudo gedit /etc/fonts/conf.d/ 49-sansserif.conf
49-sansserifconf前面没有空格
謝謝那,,,我都不知道原來是不能有空格的!!


