Dear Mantainer
Thank you for this helpfull package.
I use the ClamAV::Client as part of an email processing script.
This script uses MIME::Tools to extract attachements from emails
guess their file names and save them to disk.
This is when I call scan_path($path); $path containing the filename
returned by MIME::Tools. The file is created by perl 'open' right
before calling scan_path($path):
binmode STDOUT, ":utf8";
open(FILE,">$path");
print FILE $attachment;
close(FILE);
my ($path,$found) = $av->scan_path($path);
I believe, MIME::Tools returns an utf-8 string as filename.
I suppose 'open' correctly converts this utf-8 filename to a binary
string as Unix does not care about filename encoding.
Unfortunately scan_path does not seem to do this conversion and
does not find a file with utf-8 characters created this way.
So this is a feature request to make scan_path correctly handle
filename charset.