Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 17:35:46 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Gunnar Flygt <flygt@sr.se>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Using ISO8859 and perl
Message-ID:  <20020117163546.GA95852@student.uu.se>
In-Reply-To: <20020117153219.A41263@sr.se>
References:  <20020117153219.A41263@sr.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 17, 2002 at 03:32:19PM +0100, Gunnar Flygt wrote:
> When I start pkg_version I get the following startinfo:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = (unset),
> 	LC_CTYPE = "sv_SE.ISO8859-1",
> 	LANG = "sv_SE.ISO8859-1"
> 	are supported and installed on your system.
> 	perl: warning: Falling back to the standard locale ("C").
> 
> How can I make perl aware of local language settings. Maybe not a
> "stable" question, but since it's the only list I'm connected to :)
> 
> But of course the system is -STABLE


Assuming you have recent enough system (so that the sv_SE.ISO8859-1
locale actually exists) you shouldn't have to do anything.
I just tried running pkg_version with LC_ALL, LC_CTYPE and LANG set as
above and I didn't get any warnings at all.
I am running 4.5-RC from Jan 10.

Since that locale name was added fairly recently I suggest to update
your system to the latest -STABLE if you haven't already done so within
the last week or so.
(In case your system doesn't have that locale installed.)



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020117163546.GA95852>