Aye, the UTF-8 is valid, but my locale is en_US.ISO8859-1 (or at least some of it is; see my original post).
If I comment out the encoding line the ls works as well as reading a line from the file, but Tk still reports:
06_Protection_de_la_tĂȘte.xml: No such file or directory
Back to the original problem: without any fancy stuff (decoding, encoding, etc.) commands with non-ASCII characters work fine except when they are ran through Tk::ExecuteCommand, which is what I'm trying to fix because it's a Tk application;the others are just examples. I posted a solution for this in an earlier reply, but it involves changing the module's code and I'm not sure how wise that is—if I'm fixing a valid bug or creating a potential problem for the future.
Thanks for sticking with me on this one!
In reply to Re^6: Tk and Non-ASCII File Names
by eff_i_g
in thread Tk and Non-ASCII File Names
by eff_i_g
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |