QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1755|回复: 5

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

[复制链接]
发表于 2004-10-22 22:25:11 | 显示全部楼层 |阅读模式
我用的是fc2,在不改变locale的前提下有什么方法显示utf8汉字?zhcon能显示utf8汉字吗?
发表于 2004-10-22 23:09:06 | 显示全部楼层
可以,也可以试试cce

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

使用道具 举报

 楼主| 发表于 2004-10-24 10:37:33 | 显示全部楼层
[quote:2bbd1666cd="MichaelBibby"]可以,也可以试试cce

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

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

使用道具 举报

发表于 2004-10-24 10:51:07 | 显示全部楼层
rpm -ivh zhcon*.rpm
装上去以后,在文本模式下运行zhcon就可以了
回复

使用道具 举报

发表于 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.
回复

使用道具 举报

发表于 2004-10-25 12:32:56 | 显示全部楼层
我用的是CCE,真的不错啊,我的是RH9,不过低版本比高版本似乎更好用
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 17:01 , Processed in 0.067825 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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