On Tue, 2010-06-01 at 11:56 -0400, Chris Conn wrote: > I upgraded to SA 3.3.1 on a CentOS system using Perl 5.8.5 and I > occasionally get this error;
> I built a rpm using rpmbuild on the system in question, is my > installation broken? I have found similar instances in previous versions > > http://wiki.apache.org/spamassassin/RedHatMalformedUtf8 > http://www.gossamer-threads.com/lists/spamassassin/users/100450 > > mostly old stuff. Without thoroughly checking the details... Yes, mostly old stuff. Just like your Perl version. ;) Both references point at issues with Perl handling UTF-8 in 5.8.x versions. Since your 5.8.5 is quite old, and there even have been a couple later 5.8.x releases -- any chance that's it? -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}