aksjain has asked for the wisdom of the Perl Monks concerning the following question:
As part of my first perl script project, i need to copy some folders (having folder or files named in Chinese or Japanese characters) from one directory to another. I tried using dircopy from "File::Copy::Recursive" but the copied directory have the mangled names like:
Orig. Name => Copied Dir name
テーブル => A95B~1
Can somebody please help me to get out of this problem? I am using the very simple code-line like:
my $num_of_files_and_dirs = dircopy($source_dir,$target_dir) or die "C +opying Server failed: $!";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Seeking help for copying recursive folders having some folder/file names in Chinese or japanese
by BrowserUk (Patriarch) on Jan 19, 2015 at 11:33 UTC | |
by aksjain (Acolyte) on Jan 19, 2015 at 15:23 UTC | |
by BrowserUk (Patriarch) on Jan 19, 2015 at 16:52 UTC | |
Re: Seeking help for copying recursive folders having some folder/file names in Chinese or japanese
by Anonymous Monk on Jan 19, 2015 at 12:15 UTC | |
by salva (Canon) on Jan 20, 2015 at 11:04 UTC | |
by Anonymous Monk on Jan 19, 2015 at 22:42 UTC |
Back to
Seekers of Perl Wisdom