laziness, impatience, and hubris | |
PerlMonks |
Re^3: how to make a filename in unicode charactersby Corion (Patriarch) |
on Jul 02, 2011 at 07:49 UTC ( [id://912447]=note: print w/replies, xml ) | Need Help?? |
Ah - so you need to tell Perl what encoding your source code is in - if you are certain that your source code is UTF-8, the utf8 pragma might help there. You should really check the return value of open by using either autodie or doing the following:
Also, you're using the backslash ("\") as filename separator - I guess that you are on Windows then. See the reply by Anonymous Monk about using Win32::Unicode then.
In Section
Seekers of Perl Wisdom
|
|