Setting locale fails

I am running a TWiki site ( on my domain. I want to use international languages, so twiki’s scripts try to set the locale. According to the test script this fails.

I cannot get it to work using the terminal (SSH) either.

Could this be a Perl or Debian config issue?

Another test script, ran from the terminal, gets me this:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.ISO-8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
LANG is en_US.ISO-8859-1=
Argument “LC_CTYPE” isn’t numeric in subroutine entry at charset line 4.
$^H is 3842
Locale bit is 1
Locale loaded
Locale is C
Locale now is C

Any clue is much appreciated.

Arthur Clemens

Try writing support with the machine name you’re on. This looks like a setting on your server has not been set, and is a trivial issue.

However, your snippet of code shows that the Perl script reverts to a default locale anyway, so I’m not sure why it’s still failing?

  • wil