|
1. 修改了 LC_CTYPE=zh_CN.UTF-8
C - Space 还是提示 :C-SPC is undefined
- locale
- LANG=en_US.UTF-8
- LC_CTYPE=zh_CN.UTF-8
- LC_NUMERIC="en_US.UTF-8"
- LC_TIME="en_US.UTF-8"
- LC_COLLATE="en_US.UTF-8"
- LC_MONETARY="en_US.UTF-8"
- LC_MESSAGES="en_US.UTF-8"
- LC_PAPER="en_US.UTF-8"
- LC_NAME="en_US.UTF-8"
- LC_ADDRESS="en_US.UTF-8"
- LC_TELEPHONE="en_US.UTF-8"
- LC_MEASUREMENT="en_US.UTF-8"
- LC_IDENTIFICATION="en_US.UTF-8"
- LC_ALL=
复制代码
2.配置文件里面关于编码的设置,像
- (set-language-environment 'Chinese-GB)
- (set-keyboard-coding-system 'euc-cn)
- (set-clipboard-coding-system 'euc-cn)
- (set-terminal-coding-system 'euc-cn)
- (set-buffer-file-coding-system 'euc-cn)
- (set-selection-coding-system 'euc-cn)
- (setq default-process-coding-system 'euc-cn)
复制代码
使用的 enc-cn
emacs 中支持的 编码 这么多,有哪些区别,和编码有关系没?
- chinese-gb18030
- chinese-gb18030-dos chinese-gb18030-mac
- chinese-gb18030-unix chinese-gbk
- chinese-gbk-dos chinese-gbk-mac
- chinese-gbk-unix
- euc-china
- euc-china-dos euc-china-mac
- euc-china-unix euc-cn
- euc-cn-dos euc-cn-mac
- utf-8-auto utf-8-auto-dos
- utf-8-auto-mac utf-8-auto-unix
- utf-8-dos utf-8-emacs
- utf-8-emacs-dos utf-8-emacs-mac
- utf-8-emacs-unix utf-8-mac
- utf-8-unix utf-8-with-signature
- utf-8-with-signature-dos utf-8-with-signature-mac
- utf-8-with-signature-unix
复制代码
3. 其他程序都可以正常使用 fcitx,使用 emacs 无法启用 fcitx
emacs 里面可用正常的显示中文!!!
希望各位 emacs 前辈,给予指点,感激不尽!!! |
|