ietf-mta-filters
[Top] [All Lists]

Re: :contains "text with foreign characters", correct syntax?

2001-02-28 17:07:31


--Den 01-02-21 14.54 -0800 skrev ned(_dot_)freed(_at_)mrochek(_dot_)com:

 >  > Is it correct to write rules in the following syntax:
 >  > if header :contains "Subject" "foreign characters, for example åäö" {
 > discard;
 > }
 >  > and store it in UTF-8
 >  >  Yes, it is correct.
 >  > (åäö, are some swedish characters, for your information.)
 >  > Then it is a question for the sieve implementation to handle such a
 > script I suppose.
 >  Yes. Implementations SHOULD support this; see section 2.7.2 of RFC 3028.
 >  > I tried it at CMU Sieve 2.0, but it seems not  to be implemented.

Was is a MIME-encoded subject line you used to test with? A line with just
high octets has an undefined charset and can't be compared (I assume).

        Peter


<Prev in Thread] Current Thread [Next in Thread>