From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9293 Path: news.gmane.org!not-for-mail From: Xu Weijiang Newsgroups: gmane.emacs.gnus.user Subject: Re: How can I split mails based on the header when it contains multi-byte words Date: Fri, 06 Jul 2007 12:06:50 +0800 Organization: Bentium Ltd. (CN99) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183696979 9826 80.91.229.12 (6 Jul 2007 04:42:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 04:42:59 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jul 06 06:42:58 2007 connect(): Connection refused Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I6fej-0002Ns-M6 for gegu-info-gnus-english@m.gmane.org; Fri, 06 Jul 2007 06:42:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6fej-0005Ky-6O for gegu-info-gnus-english@m.gmane.org; Fri, 06 Jul 2007 00:42:57 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.szu.edu.cn!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 26 Original-NNTP-Posting-Host: 218.22.21.22 Original-X-Trace: news.yaako.com 1183694806 19266 218.22.21.22 (6 Jul 2007 04:06:46 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Fri, 6 Jul 2007 04:06:46 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:xtsYg8X6ory0pVAihMF+nEnMQj0= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79478 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9293 Archived-At: THX, it works perfectly. Katsumi Yamaoka writes: >>>>>> Xu Weijiang wrote: > >> I have a problem when i am trying to use *nnmail-split-fancy*, which >> has no effect when the corresponding field contain multi-byte words. > >> Finally I found that *nnmail-split-fancy* only matches with the >> original mail without decoding, and the subject is something like: > >> Subject: =?gb2312?B?udjT2rG+0afG2tb60dDJ6sfr?= > >> How can i config *nnmail-split-fancy* to do the match *after* >> decoding? > > Set the variable `nnmail-mail-splitting-decodes' to t. > > In addition, the value of the `nnmail-mail-splitting-charset' > variable is used for decoding non-MIME encoded string. The > value good for you may be `gb2312' or `undecided', I think. Best regards Xu Weijiang -- everything has its rules!