For reading in your Excel file, Spreadsheet::ParseExcel should handle all the characters properly. You can then use Text::Unidecode to convert your data to plain ASCII before printing to your output file - no special file handling required. | [reply] |
My Perl program for reading the multi-language Excel spreadsheet, and writing selected data to an ASCII *.ini file, uses the modules Spreadsheet::BasicRead and Spreadsheet::BasicReadNamedCol to read the Excel spreadsheet.
The unmodified Text::Unicode module is not correctly translating Polish special characters while writing them into the ASCII *.ini file, the Polish special characters are garbled.
I am using Strawberry Perl, which I assume is very out of date compared with standard Perl. Could this be causing my problem?
Is there an alternate solution for the problems I am having in my Perl program?
| [reply] |
| [reply] [d/l] |
The unmodified Text::Unicode module...
May be a typo, but my suggestion was to use Text::Unidecode not Text::Unicode - they do quite different things.
Spreadsheet::BasicRead should be fine as it uses Spreadsheet::ParseExcel under the hood.
| [reply] |