Hello again,
Sorry for the lack of details in my question. I am running on WinXP with ActivePerl 5.10.0 build 1004. What I'm doing in my program is to let the user specify a file path using an open dialog and then I try to open the file. The code is appended below.
$data_file = Tkx::tk___getOpenFile(-parent => $mw, -filetypes => [['Da +ta file', '.txt']],-initialdir => "$path\\work\\"); open(DATA_FILE, $data_file); @data = <DATA_FILE>; close(DATA_FILE);
When I do this for a file path containing special characters (for example å,ä and ö, surely more characters will cause problems) the open command failes. Hope this gives you a little more information to work with :)
In reply to Re^2: File path with special characters
by samuelalfred
in thread File path with special characters
by samuelalfred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |