|
|
发表于 2004-12-18 20:36:46
|
显示全部楼层
apt-get install mule-gbk,里面的doc文件有说,
我复制粘贴了一下其中的内容
Gnus setup
Be patient to read up this section!!!
In Gnus(running in GNU Emacs21), the mime charset to encode the
text is determined by a property `mime-charset' of the current coding
system of the text buffer, which is not specified in coding system
`Chinese-gbk' of the old versions of mule-gbk, so that Gnus encoded
the GBK text with wrong coding system. It has been fixed since
mule-gbk 0.1.2004062701.
And the encoding system to decode the text of the mail is determine
by the `charset=...' information in the mail header.
For GBK support, we need to evaluate the following Elisp codes
before Gnus loads up.
;; For GBK
(eval-after-load "mm-util"
'(setq mm-charset-synonym-alist
(append
'((x-gbk . gbk)
(cp936 . gbk)
(ms936 . gbk)
(windows-936 . gbk))
mm-charset-synonym-alist)))
Because the file `mm-util.el' in Gnus, which defines
`mm-charset-synonym-of-gbk-alist' is also a part of GNU Emacs, we
added the above setup for Gnus into `mule-gbk.el'. Thus, the only
task left to you is to make sure that mule-gbk is loaded before the
library `mm-util'(or Gnus) 
This setup has been simply tested on Gnus 5.10.6 w/ GNU Emacs 21.3. |
|