SA Bugzilla – Bug 452
SUBJ_ALL_CAPS is broken for non-latin subjects
Last modified: 2002-06-14 14:48:57 UTC
Test case: Subject: =?koi8-r?B?0tXT08vB0SDSxd7Y?= (the subject is 2 lower case words in russian) For a subject like the above, $subject == uc($subject). The bug in EvalTests.pm:subject_is_all_caps prevents russian letters from being removed before the comparison. The patch: --- EvalTests.pm~ Thu Apr 11 09:32:35 2002 +++ EvalTests.pm Fri Jun 14 17:50:23 2002 @@ -966,7 +966,7 @@ return 0 if subject_missing($self); - $subject =~ s/[^a-zA-Z]//; + $subject =~ s/[^a-zA-Z]//g; return length($subject) && ($subject eq uc($subject)); }
*** This bug has been marked as a duplicate of 441 ***