https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7091

            Bug ID: 7091
           Summary: UTF-8 characters don't work in rules
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]

They need to be escaped.  For example:

/ą/ needs to be written as /\x{104}/  (or /[\x{104}\x{105}]/ if case
insensitive).  

I'm using perl v5.10.1 and spamassassin 3.4.0-rsvnunknown.  This problem seems
to exist for everyone currently, based on discussion on the users list: 
http://spamassassin.1065346.n5.nabble.com/UTF-8-rules-what-am-I-missing-td111934.html

http://spamassassin.1065346.n5.nabble.com/UTF-8-Spam-rules-td106485.html


Karsten Bräckelmann posted in September 2013 that it worked with SA 3.2 on Perl
5.8.x: 
http://spamassassin.1065346.n5.nabble.com/UTF-8-Spam-rules-td106485.html

That seems to have been when perl had more flexible UTF-8 handling: "-C on its
own ... follows the implicit (and problematic) UTF-8 behaviour of Perl 5.8.0."
- http://perldoc.perl.org/perlrun.html

I made some attempts to run spamassassin with this perl -C, unsuccessfully. 
Not sure what I did wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to