|Keep It Simple, Stupid|
UTF-8 in filenamesby vitoco (Friar)
|on Aug 26, 2009 at 20:38 UTC||Need Help??|
vitoco has asked for the
wisdom of the Perl Monks concerning the following question:
I need to write a file with some data I get from some UTF-8 encoded pages. No problem in that, except that the name of the file must also be taken from the same page, and garbage is displayed in the filename when listing the directory and a non ASCII char is used.
I found an old thread describing a similar problem, but no solutions other than "don't do that!".
I must use that string (or an ASCII equivalent) as the name of the file. Hints?