From owner-freebsd-stable Thu Jan 17 8:35:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id B38D837B41C for ; Thu, 17 Jan 2002 08:35:50 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maile.telia.com (8.11.6/8.11.6) with ESMTP id g0HGZmS11171 for ; Thu, 17 Jan 2002 17:35:49 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id RAA19970 for ; Thu, 17 Jan 2002 17:35:48 +0100 (CET) Received: (qmail 95876 invoked by uid 1001); 17 Jan 2002 16:35:46 -0000 Date: Thu, 17 Jan 2002 17:35:46 +0100 From: Erik Trulsson To: Gunnar Flygt Cc: FreeBSD Stable Subject: Re: Using ISO8859 and perl Message-ID: <20020117163546.GA95852@student.uu.se> Mail-Followup-To: Gunnar Flygt , FreeBSD Stable References: <20020117153219.A41263@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020117153219.A41263@sr.se> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message