Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks
If there is one thing I really hate is the buzz about unicode + Perl in Windows. Way too complicated, for me at least. Now I am trying to copy 1 to 1 a directory (with subfolders and files) to another location. Directory and/or files may contain unicode names (at least this is what I suppose: üäö, cyrillc, and so on). I am failing. I cannot install Win32::Unicode.
I tried:
use File::Copy::Recursive qw(dircopy); dircopy($from,$to) or "Move $from -> $to failed: $!";
If in my folder structure there is a file called üüü.txt it just fails (no error message) i.e. it skips the file. What alternative on Windows would you suggest?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Copy Unicode Directory Recursively
by Anonymous Monk on Feb 12, 2018 at 12:12 UTC | |
by Anonymous Monk on Feb 12, 2018 at 12:17 UTC | |
by Anonymous Monk on Feb 12, 2018 at 13:43 UTC | |
by Anonymous Monk on Feb 12, 2018 at 14:11 UTC | |
by Anonymous Monk on Feb 12, 2018 at 17:28 UTC | |
|
Re: Copy Unicode Directory Recursively
by Anonymous Monk on Feb 12, 2018 at 12:13 UTC | |
by bart (Canon) on Feb 13, 2018 at 07:17 UTC | |
by Anonymous Monk on Feb 13, 2018 at 07:41 UTC |