cutsky 发表于 2004-10-22 22:25:11

新手请教:如何在字符终端中显示utf8汉字

我用的是fc2,在不改变locale的前提下有什么方法显示utf8汉字?zhcon能显示utf8汉字吗?

MichaelBibby 发表于 2004-10-22 23:09:06

可以,也可以试试cce

一样的功能,只是给兄弟多一个选择而已

cutsky 发表于 2004-10-24 10:37:33

可以,也可以试试cce

一样的功能,只是给兄弟多一个选择而已

请教M大人,该怎样设置呢,让zhcon支持utf8呢?我用的是一个rpm,是不是一定要src编译在configure下自己添加选项?请明示。

MichaelBibby 发表于 2004-10-24 10:51:07

rpm -ivh zhcon*.rpm
装上去以后,在文本模式下运行zhcon就可以了

cnhnln 发表于 2004-10-24 22:46:33

0.51版的cce好像可以。其他的好像都不行

2. How to use CCE in UTF-8 mode?

You can use -filter "charset" to enable the input/output filter for CCE. CCE will
dynamically do the iconv conversion from charset to internal encoding(GB/Big5/JIS etc)
for input and the reverse conversion for output. CCE doesn't support Unicode
internally(due to huge fonts and other issues), but you can use "-filter UTF-8" to
let CCE support UTF8 console.

You can use vt-is-UTF8 and locale to decide if your Linux console is in UTF8 mode.
For example, if you install Mandrake 9.2(Chinese localization), it'll set the locale
to "zh_CN.UTF-8" and the console is in Unicode mode. Run CCE:
      cce -filter UTF-8
Then you can display(try cal/date, etc) and input Chinese.

chinnux 发表于 2004-10-25 12:32:56

我用的是CCE,真的不错啊,我的是RH9,不过低版本比高版本似乎更好用
页: [1]
查看完整版本: 新手请教:如何在字符终端中显示utf8汉字