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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: UTF-8 in filenames
by moritz (Cardinal) on Aug 26, 2009 at 20:44 UTC | |
by vitoco (Hermit) on Aug 26, 2009 at 21:19 UTC |