|
| problem with utf-8 on reading filename |
 |
Sat, 08 Jul 2006 18:49:42 GMT |
Hi,
we try to create a script that scans a volume and/or Dir for a specific
filetype and writes that file (incl. patch) to a file.
The search went fine, but the filename in the outputfile gots strange, if
i come to files with utf-8 chars inside.
What did we wrong ?
We look for the file like :
if (/.pst$/i) {
my $filename = $File::Find::name;
And writing the output to the output file like:
open(FLIST, ">:utf8", "$OutputFile") || die "Open of
$OutputFile for
writing failed";
Cheers
Andreas
|
| Post Reply
|
|
|
|
|
|
|
|
|
|