Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "It's me FKtPp \;\)" <m_pupil@ccolyahoo.com.cn>
To: info-gnus-english@gnu.org
Subject: Re: why cannot use Chinese character in nnmail-split-methods
Date: Sun, 29 Apr 2007 10:51:23 +0800	[thread overview]
Message-ID: <86r6q3nb9w.fsf@tech-fankai.square-enix.net.cn> (raw)
In-Reply-To: <1177722887.338663.96860@y5g2000hsa.googlegroups.com>

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	other threads:[~2007-04-29  2:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28  1:14 haomiao
2007-04-29  2:51 ` It's me FKtPp ;) [this message]
2007-04-29 11:24 ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r6q3nb9w.fsf@tech-fankai.square-enix.net.cn \
    --to=m_pupil@ccolyahoo.com.cn \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).