Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Localisation and Locale::Maketext

by phenom (Chaplain)
on Dec 22, 2009 at 13:47 UTC ( [id://813885]=note: print w/replies, xml ) Need Help??


in reply to Localisation and Locale::Maketext

I have no experience with Locale::Maketext, but have had good luck using the following:
use encoding 'utf8'; use POSIX qw/locale_h/; use Locale::gettext; textdomain('program-name'); setlocale( LC_MESSAGES, '' ); bind_textdomain_codeset( 'program-name', 'UTF-8' );
Hope this helps.

Replies are listed 'Best First'.
Re^2: Localisation and Locale::Maketext
by phenom (Chaplain) on Dec 22, 2009 at 16:29 UTC
    Geez, downvoted! That's what I get for not posting in awhile, I guess.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-26 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found