LinuxSir.cn,穿越时空的Linuxsir!

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

这段话的是什么意思呀?关于mutt在utf-8下工作

[复制链接]
发表于 2006-4-7 21:10:16 | 显示全部楼层 |阅读模式
UTF-8 chars are displayed fine, but the screen is garbled

Mutt has to be linked against a term library with wide char support. For ncurses, this is the libncursesw library.

$ mutt -v | grep using
System: Linux 2.4.25-planck (i686) [using ncurses 5.4]
$ ldd `which mutt` | grep curses
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0x40023000)
To get libncursesw, compile curses with --enable-widec. Debian users install the libncursesw5 package. (On Debian/Woody? (stable), install mutt-utf8. Starting with Debian/Sarge?, Mutt is already linked against libncursesw; try apt-get build-dep mutt if you compile your own mutt.)

Default Slang seems not to work with UTF-8, relink Mutt against libncursesw. (Hello Gentoo users :-)

S-Lang needs the UTF-8 patch to work with UTF-8. Here it is: http://www.emaillab.org/mutt/tools/slang-1.4.8-utf8.diff.gz (This displays CJK chars more correctly than ncursesw.)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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