QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4725|回复: 3

为什么emacs显示中文总有问题

[复制链接]
发表于 2006-8-9 10:35:33 | 显示全部楼层 |阅读模式
我的系统FC5,locale=zh_CN.UTF-8,

.Xdefaults字体设置如下:

[code:1]
Emacs.Fontset-0:-*-*-medium-r-*-*-20-*-*-*-*-*-fontset-normal,\
ascii:-*-fixed-medium-r-*-*-20-*-*-*-*-*-iso8859-*,\
chinese-gb2312:-*-simsun-medium-r-normal-*-20-*-*-*-*-*-gbk-0,\
chinese-big5-1:-*-tangti-medium-r-*-*-20-*-*-*-*-*-big5-0,\
chinese-big5-2:-*-tangti-medium-r-*-*-20-*-*-*-*-*-big5-0,\
utf-8:-misc-fixed-medium-r-*-*-20-*-*-*-*-*-iso10646-1,\
mule-utf-8:-misc-fixed-*-r-*-*-20-*-*-*-*-*-iso10646-1,\
mule-unicode-0100-24ff:-misc-fixed-*-r-*-*-20-*-*-*-*-*-iso10646-1,\
korean-ksc5601:-*-*-medium-r-normal-*-20-*-*-*-*-*-ksc5601*-*,\
sjis:-*-*-medium-r-normal-*-20-*-*-*-*-*-jisx0208*-*

Emacs.Font:fontset-normal

[/code:1]

.emacs中的中文设置
[code:1]
;; Emacs的中文配置
(set-language-environment 'Chinese-GB)
(set-terminal-coding-system 'chinese-iso-8bit)
(set-clipboard-coding-system 'chinese-iso-8bit)
(define-coding-system-alias 'gb18030 'gb2312)
(define-coding-system-alias 'gbk 'gb2312)
(set-keyboard-coding-system 'chinese-iso-8bit)   ;; 输入设定
(set-selection-coding-system 'chinese-iso-8bit)  ;; 拷贝粘贴
[/code:1]

xlsfonts查到的字体


[code:1]
-simsun-simsun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-bold-i-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-bold-i-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-bold-o-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-bold-o-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-bold-r-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-bold-r-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-bold-ri-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-bold-ri-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-bold-ro-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-bold-ro-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-medium-i-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-medium-i-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-medium-o-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-medium-o-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-medium-r-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-medium-r-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-medium-ri-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-medium-ri-normal--0-0-0-0-c-0-iso8859-1
-simsun-simsun-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0
-simsun-simsun-medium-ro-normal--0-0-0-0-c-0-gbk-0
-simsun-simsun-medium-ro-normal--0-0-0-0-c-0-iso8859-1
[/code:1]

打开后汉字显示方框

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2006-8-10 13:48:42 | 显示全部楼层
顶一下
回复

使用道具 举报

发表于 2006-8-10 15:06:15 | 显示全部楼层
这个些个东西还没有成熟
回复

使用道具 举报

发表于 2006-10-10 22:44:39 | 显示全部楼层
同遇到这问题
抓狂中一,一
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 13:10 , Processed in 0.145964 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表