Subject: pkg/14051: perl does not like LANG=de
To: None <>
From: Martin Husemann <>
List: netbsd-bugs
Date: 09/24/2001 08:32:33
>Number:         14051
>Category:       pkg
>Synopsis:       perl does not like LANG=de
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 23 23:33:01 PDT 2001
>Originator:     Martin Husemann
>Release:        1.5.2 and -current as of a few weeks ago
System: NetBSD 1.5X NetBSD 1.5X (PORTER) #0: Sun Sep 9 10:51:54 MEST 2001 i386
Architecture: i386
Machine: i386

When I set the environment variable LANG to "de" (the correct value if I would
like to see german messages), perl complains:

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


With perl-5.6.1nb2, on -current or 1.5.2:

  setenv LANG de
  perl -v

(non-csh users: you know what I mean)

You can pick any other LANG setting, I did not find any besides "C" that does
work. Note, however, that the locales work for other programs, i.e. when
I do setenv LANG de and try to cat a non existing file, I get:

cat: blah: Datei oder Verzeichnis nicht gefunden