LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3644|回复: 15

zhcon终于支持Unicode了

[复制链接]
发表于 2006-5-14 16:56:49 | 显示全部楼层 |阅读模式
前段时间还发Email问过作者,他说可能要年底才会支持,不过在51长假的时候,支持UTF-8的0.2.5版已经释出了,下面是关于UTF-8的说明,下载去sf.net去吧!

zhcon supports utf-8 locale starting from version 0.2.5.

To use utf-8 locale,  simply add --utf8 to the command line:
    zhcon --utf8

Limitation of zhcon's utf8 support:
    * only one system encoding (gbk/big5 etc) can be used at any given time
    * any character invalid in current system encoding will not be displayed
    * some terminal applications, such as mc and links, may not function properly under utf8


Using vim under utf8 locale:
vim 6 has native support for utf8 locale. If vim can not correctly display/edit utf8 Chinese text file, put the
following line in your .vimrc file:
    set encoding=utf8
发表于 2006-5-14 19:08:47 | 显示全部楼层
在UTF-8下测试了,无法输入中文:
使用五笔,仓颉时,按键没反应
使用拼音、行列30时,只要一输入,马上就segment fault
回复 支持 反对

使用道具 举报

发表于 2006-5-14 21:37:53 | 显示全部楼层
段错误。不少人遇到。楼主正常?
回复 支持 反对

使用道具 举报

发表于 2006-5-14 23:00:01 | 显示全部楼层
Post by hohoxu_hao115
段错误。不少人遇到。楼主正常?

如果你是一启动就段错误的话,那是因为你没有把src/zhcon.conf复制到/etc下面。
回复 支持 反对

使用道具 举报

发表于 2006-5-14 23:18:13 | 显示全部楼层
是这样吗?怪我没好好看文档。
回复 支持 反对

使用道具 举报

发表于 2006-5-15 04:16:56 | 显示全部楼层
Great news..
回复 支持 反对

使用道具 举报

发表于 2006-5-15 15:47:05 | 显示全部楼层
我的怎么只能用全拼?其他所有组合键都不起作用。
可以打开/关闭输入法,可以按Ctrl+D退出。不能切换输入法,连按Ctrl+Alt+H调出帮助都不行!
回复 支持 反对

使用道具 举报

发表于 2006-5-16 23:44:18 | 显示全部楼层
用上了,很正常。
回复 支持 反对

使用道具 举报

发表于 2006-5-17 10:52:48 | 显示全部楼层
Post by KDF2003
用上了,很正常。

请问你是在什么系统上使用?
locale是什么?
回复 支持 反对

使用道具 举报

发表于 2006-5-17 17:09:04 | 显示全部楼层
现在sf.net已经有0.2.6的patch,到目前暂时还没什么问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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