🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Gnus ��������

#10338
From: �����
Date: Wed, 06 Aug 2003 12:26
55 lines
4633 bytes
���� Emacs ��������������

;; in ~/.emacs.el
(set-language-environment 'Chinese-GB)
(set-keyboard-coding-system 'chinese-iso-8bit)
(set-terminal-coding-system 'chinese-iso-8bit)
(set-clipboard-coding-system 'chinese-iso-8bit)

���֮�⣬������ Gnus �Ľ���������ݣ�

;; in ~/.gnus.el

(setq ;; gnus-default-charset ������ȱʡ����ı��룬����һЩû����ȷָ��
      ;; �����ݱ��뷽ʽ�����ӣ�����Ч��
      gnus-default-charset 'cn-gb-2312

      ;; gnus-group-name-charset-group-alist ��������ı��뷽ʽ�����Ը��
      ;; ��Ҫ�ֱ����ã�����򵥵�Ҳ�ð� :)
      gnus-group-name-charset-group-alist '((".*" . gb2312))

      ;; �� summary buffer ���ñȽ����ã�һ���� g ����ˢ�¡�������ӣ���
      ;; �����ã��� 1 g �ͻ��� cn-gb-2312 ���������ӣ��� 2 g ���� big5
      ;; ���������ӡ�����������ñ�ı����������, 3 g��4 g��������ɣ�
      gnus-summary-show-article-charset-alist '((1 . cn-gb-2312) (2 . big5))

      ;; ��һЩ client���� iso-8859-1 ���룬��ʵҲ������� gb2312�����ԣ�
      ;; �ɴ�������ˣ����뵽��������� list �С�
      gnus-newsgroup-ignored-charsets '(unknown-8bit x-unknown iso-8859-1)

      ;; �� Gnus �ģ���û�з����� Google �е�ʱ����ʱ��������ӵ�����
      ;; �ͱ���һ��Ӧ��һ�������µģ�ȷ����һ����������Ϊ���
      ;; Subject ���������ˣ�����ȥ����������Ӻͱ��˵����ӵ� raw-text��
      ;; ��Ȼ�����Բ�����ᣬ������ϲ���Ĺ�����������������˵����ijЩ
      ;; �����棬ʲô��ı��벻�ñ��룬ֱ���þ�ok�ˡ�
      gnus-group-posting-charset-alist
      '(("^\\(cn\\)\\.[^,]*\\(,[ 	\n]*\\(cn\\)\\.[^,]*\\)*$" gb2312 (gb2312))
	("^\\(�����\\|��������\\).*" gb2312 (gb2312))
	("^\\(Itr\\|db\\).*" gb2312 (gb2312))
	(message-this-is-mail nil nil)
	(message-this-is-news nil t))
 )

���У���ʱ��������Щ���� GB18030 �ı��룬������֪�������ܹ��ܺõ�֧��
GB18030 �ģ������࣬����ʵ�����Ǹ������� GB2312 Ҳ���Ժܺõ��Ķ������ң�
Gnus ��˵ Emacs ������֧�� GB18030����ʹ GBK�������Ȱ� GB18030 ����
GB2312 ����Ͼ�����һ�����ܱ�һ�㶼������Ҫ�ð���

���Ծ����ּ��������

(define-coding-system-alias 'gb18030 'gb2312)

-- 
 ~~һ�쵽��~�����~~
   <dddkk@sina.com>
Technical Details
Message-ID: <m2vftb6kfx.fsf@db.cs.hit.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,65599a6a235223e4,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-08-06 05:22:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
From: "�����" <dddkk@sina.com>
Newsgroups: cn.comp.os.linux
Subject: Gnus ��������
Date: Wed, 06 Aug 2003 20:26:42 +0800
Organization: Bentium Ltd. (CN99)
Lines: 55
Message-ID: <m2vftb6kfx.fsf@db.cs.hit.edu.cn>
NNTP-Posting-Host: 211.93.34.108
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1060172435 8177 211.93.34.108 (6 Aug 2003 12:20:35 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Wed, 6 Aug 2003 12:20:35 +0000 (UTC)
X-Face: $,MrC{".#Of"+5o4f&"Y%BEXbu::2[3u0PK.G\]'&Irj>a%BRPq%aA"6f<Ywarj_/AR5<o9'<!"9.\ZqzkDv-OK0&Vx&D(0'5O(jx,]LgQk/J@P<F$X\br>y"[Eo8lEBloB*tfsz~]\Ll\}&C{}ar^R\Ic9shnEW?'8o-9%MQ03+izFFbQV&CUKVd>%V1sog)m1$L=Z(K!I5ID8nucdF}Bb(/r>b]7*t@GP%=VS_~:&~:F$?7,i1Wqj\C(q)|@71421c2ynlCQ<u%"'6|28Oww":7N6=Fs/?mUj&_^u&\^yrrY{O
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
Cancel-Lock: sha1:si/YES6+sHnYs9azHTkegoHMs+I=