|Don't ask to ask, just ask|
Perl path directory greekby welle (Beadle)
|on Nov 20, 2010 at 09:36 UTC||Need Help??|
welle has asked for the
wisdom of the Perl Monks concerning the following question:
I am a sort of newbe in Perl and maybe I am missing something very simple. On a Windows machine (XP) I am trying to access files (txt, hmtl, etc.) stored in folders which contain no english characters (it's greek). The path is not hard coded but is selected through (getSaveFile or getOpenFile).
My path is
C:\Documents and Settings\OT\Desktop\ελληνικά
Let's say I want to save a file in this folder. I have:
I get the following error: TK::Error No such a file or directory. I found this node http://perlmonks.com/?node_id=872508 but it isnot helping me very much as it creates a new folder (and saves the file inside it).
The problem is obviously of encoding nature... but what should I do to work with Perl/Windos on a "non english speaking" machine?
Thank you for your help. Otto