SA Bugzilla – Bug 1147
Malformed UTF-8 character
Last modified: 2002-10-29 22:34:37 UTC
I have installed SA 2.43 and I am noticing a lot of: Oct 23 23:32:19 filter1 spamd[16430]: Malformed UTF-8 character (unexpected continuation byte 0xa0, with no preceding start byte) in substitution iterator at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EvalTests.pm line 1706, <STDIN> line 348. Oct 23 23:32:19 filter1 spamd[16416]: Malformed UTF-8 character (unexpected continuation byte 0xa0, with no preceding start byte) in substitution iterator at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EvalTests.pm line 1706, <STDIN> line 160. SA is catching a lot of spam but this error is causing problems. A cached faq page on the SA site says it is not a bug to worry about however Exim errors out when this occurs: 2002-10-23 23:45:50 184YvD-0003rs-00 failed to read delivery status for BOB@foo.com from delivery subprocess RedHat 8 perl 5.8 (reinstalled to remove threading) SA 2.43 Other than this problem SA is working wonderfully I hope there is a quick patch avaialable
I have seen this same behavior using spamassassin 2.50(devel) under mimedefang with the same OS/perl version.
TEMPORARY WORKAROUND: You can change your locale to regular en_US (en_US.iso885915) instead of en_US.UTF-8 and this seems to fix the problem. RedHat 8 defaults to using UTF-8 locales. You can use locale_config if you have XFree86 installed, or you can just edit your /etc/sysconfig/i18n file.
I've thrown in some pack()s into the code to de-UTF strings before using tr///. That should help. now in CVS...
oh BTW, marking as FIXED. If you run into more, hjust reply and this bug will reactivate.