in reply to Re: Writing UTF8 Filename
in thread Writing UTF8 Filename
(BTW, you might find it easier to use the perl built-in function "rename" -- it saves you from worrying about what happens to non-ASCII data being passed as command-line args to a sub-shell.)
Yeah, instead of worrying about what happens if you do a system call, you now have to worry about what happens if you do a system call. The same thing happens: latin1 or utf8 encoding may be used, depending on the circumstances. Thus: encode explicitly.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Writing UTF8 Filename
by amiribarksdale (Acolyte) on Nov 17, 2007 at 22:39 UTC | |
by Juerd (Abbot) on Nov 18, 2007 at 00:00 UTC |
In Section
Seekers of Perl Wisdom