Operating System - HP-UX
1753712 Members
4574 Online
108799 Solutions
New Discussion юеВ

Re: perl: warning: Setting locale failed.

 
Satish Y
Trusted Contributor

perl: warning: Setting locale failed.

Hi All,

Yesterday we installed QPK1100 patch bundle, after that user scripts are reporting some language/locale problems, like below:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "german.iso88591",
LC_COLLATE = "C",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Any idea!

Cheers...
Satish.
Difference between good and the best is only a little effort
2 REPLIES 2
Madhu Sudhan_1
Respected Contributor

Re: perl: warning: Setting locale failed.

Satish,
Try setting LC_ALL="C" ; export LC_ALL .

Thanks,
Madhu
Think Positive
T G Manikandan
Honored Contributor

Re: perl: warning: Setting locale failed.

Just do a
#locale -a

check for the locale that the system would support.

Then provide the argument of the supported locale with LANG

#LANG=
#export LANG


you can also suppress the locale warning messages using the variable PERL_BADLANG.

But it is better to investigate than suppress the warning messages.


REvert