MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Trouble with Search string! (uppercase/lowercase)



Hi jojo!

> server:/home/mvend[mvend]# perl bin/testx.pl
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = "de_DE.ISO_8859-1",
>         LC_NUMERIC = "C",
>         LC_CTYPE = "iso_8859_1",
>         LANG = "de_DE.ISO_8859-1"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

It looks like the locale settings you are trying to specify are not
consistent or maybe not supported on your system.  In particular, LC_TYPE
should probably be "de_DE.ISO_8859-1" and not "ISO_8859-1".

You can use the "locale" command to find available locales on your machine
and to see current settings, for instance mine returns: 

   [larryl]% locale -a
   POSIX
   en_US.ISO8859-1

   [larryl]% locale
   LANG=
   LC_COLLATE="C"
   LC_CTYPE="C"
   LC_MONETARY="C"
   LC_NUMERIC="C"
   LC_TIME="C"
   LC_MESSAGES="C"
   LC_ALL=

The easiest way to change is to set "LC_ALL", which overrides all other
settings:

   [larryl]% setenv LC_ALL en_US.ISO8859-1
   [larryl]% locale
   LANG=
   LC_COLLATE="en_US.ISO8859-1"
   LC_CTYPE="en_US.ISO8859-1"
   LC_MONETARY="en_US.ISO8859-1"
   LC_NUMERIC="en_US.ISO8859-1"
   LC_TIME="en_US.ISO8859-1"
   LC_MESSAGES="en_US.ISO8859-1"
   LC_ALL=en_US.ISO8859-1


Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)



Search for: Match: Format: Sort by: