Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Finnish alphabet and Excel::Writer::XLSX

by Anonymous Monk
on Dec 07, 2012 at 18:07 UTC ( #1007811=note: print w/replies, xml ) Need Help??

in reply to Finnish alphabet and Excel::Writer::XLSX

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007811]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-10-27 21:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (371 votes). Check out past polls.