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

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

Re: why cannot use Chinese character in nnmail-split-methods


From: It's me FKtPp ;)
Subject: Re: why cannot use Chinese character in nnmail-split-methods
Date: Sun, 29 Apr 2007 10:51:23 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix)

haomiao <miaohaoz@ustc.edu> writes:

> Hi
>
>          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" "")))
> ----------------------------------------------------------------------------

Chinese characters in Subject: header is often encoded by various
method, so... your match will be fail.
-- 
To reply, remove string `ccol' from the email address.


reply via email to

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