|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Finnish alphabet and Excel::Writer::XLSXby Anonymous Monk |
| on Dec 07, 2012 at 18:07 UTC ( #1007811=note: print w/ replies, xml ) | Need Help?? |
|
I'm not familiar with the module in question, but currently Perl will interpret your strings as latin-1. If your source file is saved as UTF-8, Perl will see "Mäster Mäster" If you say use utf8;, your strings will contain the correct character sequence (...assuming you saved the source file in UTF-8. Most *nix editors do that by default today.) Furthermore, the Excel::Writer::XLSX perldoc contains a "UNICODE IN EXCEL" section which has a few examples on getting your strings to Perl's internal encoding correctly.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||