Perl error : perl: warning: Setting locale failed.


 
Thread Tools Search this Thread
Operating Systems AIX Perl error : perl: warning: Setting locale failed.
Prev   Next
# 1  
Old 10-17-2017
Perl error : perl: warning: Setting locale failed.

This's my problem

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "en_US.UTF-8",
        LC__FASTMSG = "true",
        LC_MESSAGES = "",
        LC_CTYPE = "en_US.UTF-8",
        LC_TYPE = "en_US.UTF-8",
        LANG = "EN_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl, v5.10.1 (*) built for aix-thread-multi

I found some solutions, for Ubuntu only - don't work in AIX. How to fix this in AIX ???
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies

2. Shell Programming and Scripting

Setting ENV variables in PERL

I have perl script and in the first line we are invoking .sh script to set ENV variables. e..g eval '. $envfile; exec $PERL -S $0 "$@"' I want to change some of the env variables while the program is running and I am settging it like this .. $ENV{ORACLE_HOME}=trim($oraclehome);... (1 Reply)
Discussion started by: talashil
1 Replies

3. Solaris

setting locale en_US.UTF-8

hi, I am using SOLARIS sparc 64 bit, during installation of Oracle i receive an error required OS locale en_US.UTF-8 does not exist on the installation computer. To avoid this issue, please ensure that the locale en_US.UTF-8 exists on the installation computer prior to installing Oracle. when... (4 Replies)
Discussion started by: zeeshan047
4 Replies

4. Shell Programming and Scripting

Setting an Excel column as Text using perl

Hi, I am trying to generate an xls using perl .What is the syntax to format a column as a text? Thanks in advance reshkraj (1 Reply)
Discussion started by: reshkraj
1 Replies

5. Shell Programming and Scripting

Perl - setting a variable ?

hi there, I have a question about a snippet of code i have which runs localtime() to convert the current date/time into a mysql happy format my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); printf "%4d-%02d-%02d ... (4 Replies)
Discussion started by: rethink
4 Replies

6. Red Hat

Setting a locale in Redhat ES 4

Hi, I am writing a shell script which would ask user to select a locale and should set the locale for them. In the script I am doing export LANG=<user selected locale> and i do 'locale' it would show me the changed locale. But, when I come out of the program and do 'locale' it... (3 Replies)
Discussion started by: eamani_sun
3 Replies

7. Solaris

Sol 10 on SUN V490: Setting LOCALE

Hi all, We've upgraded/migrated our production server from Sol 9 on a Sun V480 to Sol 10 on a V490 server. How do I set/change the following values on Solaris 10: Solaris 9: $> locale LANG= LC_CTYPE=en_US.ISO8859-1 LC_NUMERIC=en_US.ISO8859-1 LC_TIME=en_US.ISO8859-1... (2 Replies)
Discussion started by: dewets
2 Replies

8. Shell Programming and Scripting

perl rename failed

i have a file, which i want to rename, from my current directory to a backupdirectory. My perl code is below rename($s_filename,$backup.$s_filename ) all my variables are defined. but the rename failed. the file permission my file is "-rw-rw-r--". could this be a problem? I tried to use the... (9 Replies)
Discussion started by: new2ss
9 Replies

9. UNIX for Dummies Questions & Answers

Solaris 8 locale setting

Hello does anybody know how to change the LC_TIME locale on solaris 8 to dd/mm/YYYY currently it is set to. #locale -ck LC_TIME d_fmt="%m/%d/%y" Thanks (1 Reply)
Discussion started by: thangorn
1 Replies

10. Programming

Locale setting

Hi, In the sample program, I am trying to print a Japanese string. The code is as follows: main() { setlocale(LC_ALL,""); printf("String is %S\n", L"JAP"); // Note "JAP" is a valid japanese string } If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies
Login or Register to Ask a Question
Net::Akamai::ResponseData(3pm)				User Contributed Perl Documentation			    Net::Akamai::ResponseData(3pm)

NAME
Net::Akamai::ResponseData - Object to hold response data DESCRIPTION
Data container for an akamai purge response Attributes uri_index Identifies the index of the first failed URL in the array. A value of -1 indicates no bad URLs, or error before parsing them. result_code Indicates sucess or failure of request est_time Estimated time for request to be processed in seconds session_id Unique id for request result_msg Explains result code Methods successful Returns true if the result code is of the 1xx (successful) variety. warning Returns true if the result code is of the 2xx (warning) variety. The Akamai documentation states that "The remove request has been accepted" even when a warning response is sent. accepted Returns true if the result code is of the 1xx (successful) or 2xx (warning) varieties. This indicates that the remove request was accepted by Akamai. You should still check to see if there was a warning, and if their was report it. message if (!$res_data->accepted()) { # These do the same thing: die "$res_data"; die $res_data->message(); } Returns a nicely formatted string containing the result_code and result_msg. AUTHOR
John Goulah <jgoulah@cpan.org> LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-12-22 Net::Akamai::ResponseData(3pm)