![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Wide characters in Windows filenames with File::Copyby slugger415 (Monk) |
on Nov 20, 2023 at 19:10 UTC ( [id://11155724]=perlquestion: print w/replies, xml ) | Need Help?? |
slugger415 has asked for the wisdom of the Perl Monks concerning the following question: Hello esteemed monks, I am having trouble using wide characters in filenames on Windows 10 using File::Copy. The wide characters appear just fine if I write them to a text file, and I can manually copy/paste them into filenames in Windows Explorer, but if I use File::Copy they come out all wonky.
This file name comes out looking like so:
Yet if I open a file and write $newname to it, it displays just fine. Any way to do this correctly with (or without) File::Copy ? Thanks, Scott
Back to
Seekers of Perl Wisdom
|
|