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

--- Comment #15 from Darxus <[email protected]> 2011-05-06 20:52:03 UTC ---
(In reply to comment #14)
> > $word = Encode::decode_utf8($word); # set the flag
> 
> I think that's trying to be too clever.. I believe the textcat database has
> some utf-8 signatures also.

I don't, far from it.  That should give you proper case conversion for the
entire set of utf8 characters.  

It would be better to figure out how to set the locale to utf8 for all of SA
early on, but I think setting the flag on this variable here is cleaner than
trying to figure out the right set of characters to feed to tr().  Although I
completely agree with Mark that your tr() solution is fine for 3.3.2.

-- 
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