http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4791
------- Additional Comments From [EMAIL PROTECTED] 2006-02-22 00:56 ------- Created an attachment (id=3383) --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3383&action=view) fix here's a fix. It adds a pack() statement to make a UTF-fixed copy, which is then safe to run tr/// on without worrying about broken UTF-8 producing those warnings. It's a little slower: Rate mg packtrlength trlength mg 1077/s -- -97% -97% packtrlength 33807/s 3039% -- -16% trlength 40380/s 3649% 19% -- "trlength" is the original, "packtrlength" is this fix, "mg" is an attempt at using m//g which is clearly nowhere near good enough so I won't even mention it here ;) better-performing MTOWTDIs welcome... checked in as r379629. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
