SA Bugzilla – Bug 4373
sa-learn error parsing UTF-8 mail
Last modified: 2005-06-01 02:10:32 UTC
sa-learn in 3.0 branch (3.0.3 and svn branches/3.0) throws the following error on the mail (mbox format) to be attached. john@headache:~/SA3.0$./sa-learn --mbox --spam ../mail/spam Parsing of undecoded UTF-8 will give garbage when decoding entities at lib/Mail/SpamAssassin/HTML.pm line 182. This is fixed in trunk AFAICS (ie. the error above isn't thrown with current trunk).
Created attachment 2907 [details] spam mail which causes error (mbox format)
Subject: Re: sa-learn error parsing UTF-8 mail If I remember correctly, the warnings were just silenced in trunk as it was found that it made no difference in the results. If you set $LANG to en_US or some other non-UTF value the warnings will probably disappear.
Dupe of bug 4046?
*** This bug has been marked as a duplicate of 4046 ***