[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl: warning: Setting locale failed



On Mon, 13 Mar 2000, Jaume Teixi wrote:

      When setting up pakages I get:
      
      perl: warning: Setting locale failed
      perl: warning: Please check that your locale settings:
                     LANGUAGE= (unset),
                     LC_ALL= (unset),
                     LANG= "ES"
      are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C")
      
      how to fix all that ? thanks.

It's so easy, you only have to set this variables into the
/etc/environment or /etc/profile. I come from Spain and I have this:

	LC_CTYPE=ISO_8859_15
	LC_ALL=es_ES
	LANG=es_ES.ISO-8859-15

The first variable stablish the language to Latin1 with Euro simbol,
the second refers to the language country (es -> Spanish, ES -> standard
spanish). The third is the same.

I think you only need to set one of them, take a look to:
	$ man latin1
and to
	$ man bash (search LC_ALL word)
but I have the three. 

I think you come from the same place than me (Catalunya). Put this
variables and all will run ok. 

If you have any other problem with it send me an e-mail.

Good Luck!!


________________________________________________
Josep Llauradó Selvas	     darlock@teleline.es
Darlock		        http://darlockd.xoom.com
	 Linux Registered User #153481

Real programmers don't comment their code.It was
hard to write, it should be hard to understand.
________________________________________________


Reply to: