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

Darxus <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Darxus <[email protected]> 2011-05-04 20:08:18 UTC ---
lc:
"Otherwise, If EXPR has the UTF8 flag set
If the current package has a subroutine named ToLower , it will be used to
change the case (See User-Defined Case Mappings in perlunicode.) Otherwise
Unicode semantics are used for the case change." -
http://perldoc.perl.org/functions/lc.html

Not sure if that flag is set, but it you can make sure it is with:

$word = Encode::decode_utf8($word); # set the flag

According to
http://www.cosmocode.de/en/blog/gohr/2009-12/10-surviving-the-perl-utf-8-madness

So...

$word = lc(Encode::decode_utf8($word));

?

Ick.  Might be better to make sure that everything is getting imported as utf8.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to