info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the problem of emacs with gnus


From: Sisyphus
Subject: Re: the problem of emacs with gnus
Date: Wed, 28 Mar 2012 19:14:51 -0000
User-agent: Gnus

I have solved the problem, because I redefined the language-environment so
I can't load any files whose path include Chinese characters. I have
following definition in my .gnus.el file

 (set-language-environment 'Chinese-GB)
 (setq gnus-default-charset 'chinese-iso-8bit
  gnus-group-name-charset-group-alist
  '((".*" . cn-gb-2312))  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)
  '("\\(^\\|:\\)hk\\>\\|\\(^\\|:\\)tw\\>\\|\\<big5\\>" cn-big5))

 (setq gnus-group-name-charset-method-alist
  '(((nntp "news.newsgroup.com.hk") . big5)))
 (setq gnus-newsgroup-ignored-charsets       ; 解决gb18030乱码
     '(unknown-8bit x-unknown gb18030))

When I commented these sentences in my .gnus.el file, everything is OK!
Thank you for your attention and help!
-- 
Sisyphus
http://yangbinblog.tk/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]