UTF-8 error in SweepViruses.pm
    Paulo Francisco Sedrez 
    paulo.sedrez at gmail.com
       
    Wed May 27 07:07:05 IST 2009
    
    
  
In what now (v 4.76) is in line 3441 of the file SweepViruses.pm, sub 
ProcessesetsOutput, last "if" block, there is something strange:
---
$filename =~ s/ » .*$//; # Delete rest of archive internal names
---
Perl (5.8.0) complains abous this "»" as an invalid or incomplete UTF-8 
sequence, on start (I am using mailscanner 4.73, so it is in line 3303):
---
Malformed UTF-8 character (unexpected continuation byte 0xbb, with no 
preceding start byte) at 
/usr/lib/MailScanner/MailScanner/SweepViruses.pm line 3303.
Malformed UTF-8 character (unexpected continuation byte 0xbb, with no 
preceding start byte) at 
/usr/lib/MailScanner/MailScanner/SweepViruses.pm line 3303.
---
It looks like this lines were introduced in version 4.71, with this 
caracter already.
Is this a typo or was it intentional?
System: CentOS 3.9 @x86 that cannot be upgraded any time soon.
--
Paulo Sedrez
    
    
More information about the MailScanner
mailing list