https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7657

--- Comment #7 from Henrik Krohns <[email protected]> ---
Bug 7305 is the culprit, specifically this part in Revision 1831073
spamassassin.raw:

   # OK, do checks and put out the message.
   my $status = $spamtest->check($mail);
-  print $status->rewrite_mail()  or die "error writing: $!";
+  { my $report = $status->rewrite_mail();
+    # encode Unicode characters to UTF-8 octets
+    utf8::encode($report) if utf8::is_utf8($report);
+    print $report  or die "error writing: $!";
+  }

Maybe Giovanni can chime in what this bit is intended to do. The original bug
only talked about forcing C locale, but these utf8 encodings are other thing?

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

Reply via email to