Sorry, I posted in a hurry. Just to clarify, when I ran the above script a file was created with different name, seems to me that each 8 bit character was used to instead of the multibyte character (ü).
I was rally under pressure and I am relatively new to perl even though i was writing few...
I was trying to copy to a file with the name having a german character and it fails. Here is the sample script
use strict;
use IO::File;
use File::Copy;
my $output = IO::File->new("> C:/temp/op.txt");
my $input = IO::File->new("< C:/temp/ip.txt") or die "could not open file for input\n";
my $ln...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.