emacs中激活fcitx

Vim、Emacs配置和使用
回复
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

emacs中激活fcitx

#1

帖子 yangdawei.hit » 2015-09-19 22:52

有时会遇到在emacs中无法激活fcitx的情况,下面是解决方法:

若没有配置过中文字符集,可先安装locales

代码: 全选

sudo apt-get install locales
然后启动locales配置zh_CN.UTF-8

代码: 全选

sudo dpkg-reconfigure locales
修改 /etc/default/locale

代码: 全选

LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
然后更新语言环境:

代码: 全选

sudo update-locale
参考:
viewtopic.php?t=295846
http://wiki.ubuntu.org.cn/%E4%BF%AE%E6%94%B9locale
http://blog.csdn.net/nick357/article/details/8513699
上次由 yangdawei.hit 在 2015-09-19 22:59,总共编辑 2 次。
头像
自由建客
帖子: 13468
注册时间: 2008-07-30 23:21
系统: Debian stable AMD64

Re: emacs中激活fcitx

#2

帖子 自由建客 » 2015-09-19 22:57

代码: 全选

LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
非一致的设置,这是做死
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: emacs中激活fcitx

#3

帖子 yangdawei.hit » 2015-09-19 23:01

非一致的设置,这是做死
这是什么意思?能阐述得清晰一些吗?
yangdawei.hit
帖子: 245
注册时间: 2015-01-02 15:32
系统: Debian

Re: emacs中激活fcitx

#4

帖子 yangdawei.hit » 2015-09-19 23:05

各位可以参考:https://wiki.debian.org/Locale。实在没有看出这样设置有什么不妥。
回复