UTF-8 error in SweepViruses.pm
Julian Field
MailScanner at ecs.soton.ac.uk
Wed May 27 09:33:08 IST 2009
I am reluctant to change this without being able to test the "eset"
virus scanner.
And I haven't got a licence for it any more.
If you can find someone with a trial licence for eset I will gladly
attempt to fix it.
In the mean time I will look back to 4.71 and see if there's any info
there that will help me.
On 27/05/2009 07:07, Paulo Francisco Sedrez wrote:
> 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
Jules
--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list