in reply to Spreadsheet::ParseXLSX filename non Latin Tk getOpenFile
Given what you're tried I assume you're familiar with the Unicode Bug. Others can provide better summaries of that than I can.
More generally, though, do the shortpaths themselves contain unicode characters or something that will be treated differently between Tk, perl and the OS?
Another option is to pass Spreadsheet::ParseXLSX::parse a file handle. It checks if the file argument is a file handle and acts accordingly, so if you can open the file using Win32::LongPath::openL then that will avoid the standard open call (assuming that is the cause of the error). https://github.com/doy/spreadsheet-parsexlsx/blob/master/lib/Spreadsheet/ParseXLSX.pm#L81.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Spreadsheet::ParseXLSX filename non Latin Tk getOpenFile
by IB2017 (Pilgrim) on Nov 21, 2018 at 09:39 UTC | |
by swl (Parson) on Nov 21, 2018 at 10:14 UTC | |
by IB2017 (Pilgrim) on Nov 21, 2018 at 10:56 UTC | |
by swl (Parson) on Nov 21, 2018 at 20:58 UTC |
In Section
Seekers of Perl Wisdom