summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-02-14 17:40:44 +0200
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 12:24:31 +0000
commit3e6e419abe70da1b98e91819c8c57ca0a324772c (patch)
tree2f0d34287c57e169ee949f7fa34cbc77c94d4b3d /pod/perldiag.pod
parent01ca579eedb21d1163dfcced9189fc4352bc9dcd (diff)
downloadperl-3e6e419abe70da1b98e91819c8c57ca0a324772c.tar.gz
5.004_59: locale startup problems documentation++
p4raw-id: //depot/perl@538
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod21
1 files changed, 21 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 6802b08ac5..4ed7041cd1 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2802,6 +2802,27 @@ variables.
of Perl. Check the #! line, or manually feed your script into
Perl yourself.
+=item 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 L<perllocale> section B<LOCALE PROBLEMS>.
+
=item Warning: something's wrong
(W) You passed warn() an empty string (the equivalent of C<warn "">) or