Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 musing on the Monastery: (10)
As of 2015-07-06 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls