如图,在 newsfan 发帖的时候名字显示是乱码。不过在别的客户端上显示正常。 配置是抄的。相关内容如下。
;;;;;;;;;;;;;;;;;;;;
;; LANGUAGE
;;;;;;;;;;;;;;;;;;;;
(setq gnus-default-charset 'gbk
gnus-group-name-charset-group-alist
'((".*" . cn-gb-2312)
("\\.com\\.cn" . gbk)
("news\\.newsfan\\.net" . gb18030))
gnus-summary-show-article-charset-alist
'((1 . cn-gb-2312)
(2 . gb18030)
(3 . chinese-iso-8bit)
(4 . gbk)
(5 . big5)
(6 . utf-8))
gnus-newsgroup-ignored-charsets
'(unknown-8bit x-unknown iso-8859-1))
(add-to-list 'gnus-group-charset-alist
'("\\(^\\|:\\)cn\\>\\|\\<chinese\\>" gbk))
(setq mm-coding-system-priorities '(iso-8859-1 gb18030 utf-8))
(defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter)
(add-to-list 'rfc2047-charset-encoding-alist '(gb18030 . B))
(add-to-list 'rfc2047-charset-encoding-alist '(gbk . B))
;;;;;;;;;;;;;;;;;;;;
;; TITLE
;;;;;;;;;;;;;;;;;;;;
(add-to-list 'nnmail-extra-headers nnrss-description-field)
(setq gnus-visible-headers
"^\\(^From:\\|^Subject:\\|^Date:\\|^Followup-To:
\\|^X-Newsreader:\\|^User-Agent:\\|^X-Mailer:
\\|Line:\\|Lines:\\|Content-Type:\\|NNTP-Posting-Host\\)")
;;;;;;;;;;;;;;;;;;;;
;; PICTURES
;;;;;;;;;;;;;;;;;;;;
(auto-image-file-mode)
(setq mm-inline-large-images t)
(add-to-list 'mm-attachment-override-types "image/*")
(setq gnus-posting-styles
'((".*"
(name "LdBeth")
(address "[email protected]")
(signature "macOS Sierra, Emacs+Gnus\n")
(eval (setq mm-coding-system-priorities
'(iso-8859-1 utf-8))))
("^cn\\.comp"
(name "LdBeth 好船")
(address "[email protected]")
(signature "来自 Emacas 的问候")
(eval (setq mm-coding-system-priorities
'(iso-8859-1 gb2312 gbk gb18030 utf-8))))
("^tw\\.comp"
(name "LdBeth")
(address "[email protected]")
(signature "LorD BEhind THe ETernl THrone.\n")
(eval (setq mm-coding-system-priorities
'(iso-8859-1 big5 utf-8))))))