我自己的解决方法是 把下面两行放到 ~/.bashrc 里面,然后重新登录。

export LC_ALL=zh_CN.utf8
export LANG=zh_CN.utf8

我个人不喜欢图形界面的 emacs。因此  emacs -nw 这个变量也做了一个alias放到 ~/.bashrc 里面


alias emacs='emacs -nw'

在 2013年11月1日下午1:31,Wape Yang <[email protected]>写道:

> 哦???刚开始我用的fcitx 输入法 在网上搜了好多都不行,看到贴子说用ibus 下载ibus.el 可以,就下载ibus.el
> 不过现在问题 解决,
> dpkg-reconfigure locales 这个命令没有执行成功(呵呵 我执行了,但就没有 用“空格” 去选择)以为默认的就会全部安装呢。
> 执行这个命令 安装 好 zh_cn.utf-8 后 输入没有问题 了 emacs和emacs -nw 都输入汉字正常了 也没有乱码了。
>
>
>
> 在 2013年11月1日下午12:21,Shell Xu <[email protected]>写道:
>
>> debian下使用emacs23/24,一点问题都没有。
>> 配合ibus,没用ibus.el,直接输入的。
>>
>>
>> 在 2013年11月1日上午9:59,Wape Yang <[email protected]>写道:
>>
>>> 在debian环境中使用emacs 中文输入问题
>>> 有人在使用吗
>>> 更换了输入法 ibus 也下载了  ibus.el
>>>
>>> 但输入不下内容 在.emacs 配置文件中 禁用了ctrl+space
>>> ctrl_space 可以切换出输入法 ,,,在emacs当前光禁的位置,,插入不上内容,
>>> 打字时ibus输入法也显示你要打什么字,但就是打出字插入不到emacs中
>>>
>>> .profile 也设置了 zh_cn.utf8
>>> 这是在xemacs中的情况
>>> ........................................................
>>> 在 emacs -nw 中的情况中 也可以切换出 ibus 输入,可以打字插入内容,插入的内容成了乱码像“?!”这类的符号。
>>> 还有就是 我感觉 用 emacs -nw  环境 好像没有 应用 .emacs 这个配置 文件似的,设置的 color theme 都不显示。
>>>
>>> ---------------------------------------------------------------
>>> 有什么 处理方法吗.
>>>
>>
>>
>>
>> --
>> 彼��者有�g,而刀刃者�o厚;以�o厚入有�g,恢恢乎其於游刃必有�N地矣。
>> blog: http://shell909090.com/blog/
>> about.me: http://about.me/shell909090
>>
>
>

回复