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 ( #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.


Comment on Re: Localisation and Locale::Maketext
Download Code
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
Node Status?
node history
Node Type: note [id://813885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-10-21 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (94 votes), past polls