use strict; use warnings; use Tk; use Win32::Unicode::File; my $mw = tkinit; my $path = $mw->getOpenFile(); my $fh = Win32::Unicode::File->new; if ($fh->open('<', $path) ){ while (my $line = $fh->readline()){ print $line; } }
In reply to Re: Tk causes problems with file paths containing non-Latin-1 chars
by Anonymous Monk
in thread Tk causes problems with file paths containing non-Latin-1 chars
by ron7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |