Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How can I split mails based on the header when it contains multi-byte words
@ 2007-07-05  8:41 Xu Weijiang
  2007-07-05 10:07 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Xu Weijiang @ 2007-07-05  8:41 UTC (permalink / raw)
  To: info-gnus-english


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?

THX.


Best regards
Xu Weijiang
-- 
everything has its rules!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I split mails based on the header when it contains multi-byte words
  2007-07-05  8:41 How can I split mails based on the header when it contains multi-byte words Xu Weijiang
@ 2007-07-05 10:07 ` Katsumi Yamaoka
  2007-07-05 11:42   ` wiza
  2007-07-06  4:06   ` Xu Weijiang
  0 siblings, 2 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2007-07-05 10:07 UTC (permalink / raw)
  To: info-gnus-english

>>>>> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I split mails based on the header when it contains multi-byte words
  2007-07-05 10:07 ` Katsumi Yamaoka
@ 2007-07-05 11:42   ` wiza
  2007-07-06  4:06   ` Xu Weijiang
  1 sibling, 0 replies; 4+ messages in thread
From: wiza @ 2007-07-05 11:42 UTC (permalink / raw)
  To: info-gnus-english

It's just what i want.
Thank you very much.
On Jul 5, 6:07 pm, Katsumi Yamaoka <yama...@jpl.org> wrote:
> >>>>> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I split mails based on the header when it contains multi-byte words
  2007-07-05 10:07 ` Katsumi Yamaoka
  2007-07-05 11:42   ` wiza
@ 2007-07-06  4:06   ` Xu Weijiang
  1 sibling, 0 replies; 4+ messages in thread
From: Xu Weijiang @ 2007-07-06  4:06 UTC (permalink / raw)
  To: info-gnus-english

THX, it works perfectly.
Katsumi Yamaoka <yamaoka@jpl.org> 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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-06  4:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-05  8:41 How can I split mails based on the header when it contains multi-byte words Xu Weijiang
2007-07-05 10:07 ` Katsumi Yamaoka
2007-07-05 11:42   ` wiza
2007-07-06  4:06   ` Xu Weijiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).