ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-web
perl-win32-web
Perl locale problems
by Newton, Philip other posts by this author
Aug 28 2001 1:46PM messages near this date
view in the new Beta List Site
Re: Upgrading to Activestate's latest build | Re: Why does this CGI process hang?
[When you change the subject, please also change the Subject: line of your
message.]

Marcelo A. Oliveto wrote:
>  This is the message error:
>  
>  perl: warning: Setting locale failed. perl: warning: Please 
>  check that your
>  locale settings: LC_ALL = (unset), LANG = (unset) are supported and
>  installed on your system. perl: warning: Falling back to the 
>  standard locale
>  ("C")

If you get a Perl error, see whether it's covered in `perldoc perldiag`.
This one is:

: perl: warning: Setting locale failed.
:     (S) The whole warning message will look something like:
:
:             perl: warning: Setting locale failed.
:             perl: warning: Please check that your locale settings:
:                     LC_ALL = "En_US",
:                     LANG = (unset)
:                 are supported and installed on your system.
:             perl: warning: Falling back to the standard locale ("C").
:
:     Exactly what were the failed locale settings varies. In the above
:     the settings were that the LC_ALL was "En_US" and the LANG had no
:     value. This error means that Perl detected that you and/or your
:     system administrator have set up the so-called variable system but
:     Perl could not use those settings. This was not dead serious,
:     fortunately: there is a "default locale" called "C" that Perl can
:     and will use, the script will be run. Before you really fix the
:     problem, however, you will get the same error message each time you
:     run Perl. How to really fix the problem can be found in the
:     perllocale manpage section LOCALE PROBLEMS.

So read `perldoc perllocale`'s section on LOCALE PROBLEMS and try following
the advice given there.

Cheers,
Philip
-- 
Philip Newton <Philip.Newton@[...].de> 
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved