全面转向 UTF-8

以前也有过试用 UTF-8 locale 的打算,不过却发现 emacs 不能正确处理中文,原以为是自己的设置问题,其实是 emacs 版本号小于 22 的都不能很好的支持 unicode。于是安装 emacs-23.0.0,cvs 服务器经常出错,搞了几天才 emerge 好。一打开果然眼前一亮。界面引擎已经采用 gtk2 的了,如果你没有设定编码的话 emacs 自动识别文件编码。

试用了 UTF-8,终于可以在 rox 下面自由操纵中文文件了。目前遇到的问题就是几乎所有 mp3 文件的 tag 编码都是 GBK 的,不过还好我都是在后台放音乐。^_^

关于 Samba 的配置改一下,这样才能在 Windows 的网络邻居里正常显示中文。修改 /etc/samba/smb.conf 如下:


[global]

dos charset = cp936
unix charset = utf8
display charset = gb2312

emacs-23-0-0.png



Leave a Comment

(required)

(required)

Formatting Your Comment

The following XHTML tags are available for use:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

URLs are automatically converted to hyperlinks.