🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #448

Re: 有乱码,重来,emacs + gnus 标题乱码求解

#448
From: dhg
Date: Thu, 07 Oct 2010 12:34
29 lines
2190 bytes
On 2010/10/05 at 17:03, "fsdf" <23@sdkf.com> wrote:
> 
> ��ͼ�����
> xnews����outlook express�������������� 
> 

����Ƚϸ��ӵġ���Ҳ��֪���ܲ��ܽ�����ҵ� emacs ��������ô���Եġ�����
Ч����ô�á���������

------------------- emacs lisp code ---------------------
;; use rfc2047
(require 'rfc2047)
(defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter)
(setq rfc2047-allow-incomplete-encoded-text nil)
(progn
  (add-to-list 'rfc2047-header-encoding-alist '("Subject"))
  (add-to-list 'rfc2047-charset-encoding-alist '(gbk . B))
  (add-to-list 'rfc2047-charset-encoding-alist '(gb2312 . B))
  (add-to-list 'rfc2047-charset-encoding-alist '(gb18030 . B))
  (add-to-list 'rfc2047-charset-encoding-alist '(big5 . B))
  (add-to-list 'rfc2047-charset-encoding-alist '(utf-8 . B)))
--------------- end of emacs lisp code ------------------------

-- 
To know a language in a go of build,
And a system in a wild crash.

	  		 -- Denise H. G.
Technical Details
Message-ID: <86wrpuyyed.fsf@pluton.xbsd.name>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cuhk.edu.hk!www.shinco.com!not-for-mail
References: <4caae9fb@news.liuxing99.3322.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10b277,e9b390f42493bde5,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidbd1373adfb,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cuhk.edu.hk!www.shinco.com!not-for-mail
From: dhg <darcsis@gmail.com>
Newsgroups: cn.comp.os.linux
Subject: Re: 有乱码,重来,emacs + gnus
 标题乱码求解
Date: Thu, 07 Oct 2010 20:34:34 +0800
Organization: Pluto The Planet
Lines: 29
Message-ID: <86wrpuyyed.fsf@pluton.xbsd.name>
References: <4caae9fb@news.liuxing99.3322.org>
NNTP-Posting-Host: 114.244.164.243
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: www.shinco.com 1286454874 6595 114.244.164.243 (7 Oct 2010 12:34:34 GMT)
X-Complaints-To: news@www.shinco.com
NNTP-Posting-Date: Thu, 7 Oct 2010 12:34:34 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)
X-Envelope-To: cn.comp.os.linux
Cancel-Lock: sha1:sQbQPX+J/buFxiM0aRS81pK7OA8=