in reply to Re^4: Tk and Non-ASCII File Names
in thread Tk and Non-ASCII File Names
Having the string in utf8 encoding probably explains why the open() fails as well -- you've actually "changed" the file name (the value of $file), by changing the encoding.
So, I'm a little confused about the nature of the original problem... What happens if you take this most recent instance of your code (using File::Find::Rule), and comment out this line?
$file = decode('iso-8859-1', $file );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tk and Non-ASCII File Names
by eff_i_g (Curate) on Oct 08, 2010 at 13:56 UTC |