[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why cannot use Chinese character in nnmail-split-methods
From: |
Reiner Steib |
Subject: |
Re: why cannot use Chinese character in nnmail-split-methods |
Date: |
Sun, 29 Apr 2007 13:24:04 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.98 (gnu/linux) |
On Sat, Apr 28 2007, haomiao wrote:
> I want to split my mails through nnmail-split-methods
> setting. When I use regexp all in English, everything is fine, but
> when I use regexp having some Chinese charaters, the mail will not be
> split into the right mail folder.
> Why this happened? How to resolve it?
>
> Here is my code in .gnus.el
> ----------------------------------------------------------------------------
> (setq nnmail-split-methods
> '(("Mail.test" "^Subject:.*\\(测试\\|test\\).*")
> ("Mail.inbox" "")))
> ----------------------------------------------------------------------------
At least in Gnus >= 5.10.* (you didn't mention your Gnus version) ...
,----[ (info "(gnus)Splitting Mail") ]
| By default, splitting MIME-decodes headers so you can match on
| non-ASCII strings. The `nnmail-mail-splitting-charset' variable
| specifies the default charset for decoding. The behavior can be turned
| off completely by binding `nnmail-mail-splitting-decodes' to `nil',
| which is useful if you want to match articles based on the raw header
| data.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/