From owner-freebsd-questions@FreeBSD.ORG Thu Jul 15 09:57:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B78616A4CE for ; Thu, 15 Jul 2004 09:57:33 +0000 (GMT) Received: from mirrorball.theloosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by mx1.FreeBSD.org (Postfix) with SMTP id 640D143D1D for ; Thu, 15 Jul 2004 09:57:32 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: (qmail 98471 invoked by uid 1001); 15 Jul 2004 09:57:31 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Jul 2004 09:57:31 -0000 Date: Thu, 15 Jul 2004 11:57:31 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@mirrorball.theloosingend.net To: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= In-Reply-To: <40F43E22.5020607@jonny.eng.br> Message-ID: <20040715115212.D92354@mirrorball.theloosingend.net> References: <40F30EAC.1090708@jonny.eng.br> <20040713202308.V97142@mirrorball.theloosingend.net> <40F43E22.5020607@jonny.eng.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: questions@freebsd.org Subject: Re: Locale data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 09:57:33 -0000 [Jo=E3o Carlos Mendes Lu=EDs, 2004-07-12] > >> Shouldn't the locale select the best charset if it is not define= d? > >> > >> I have problems with this in third party applications. They jus= t set > >> locale as pt_BR and dont give me a choice of adding a charset extensi= on. What > >> should I do? Is this a FreeBSD bug? [Svein Halvor Halvorsen] > > Try making a symlink from pt_BR.ISO8859-1 to pt_BR in /usr/share/local= e [Jo=E3o Carlos Mendes Lu=EDs, 2004-07-13] > This would probably solve my problem, but I'd like to know what is = the > expected behaviour. If FreeBSD is right, I'll try to fix the applicatio= n. I'm not sure I understand what you mean with "expected behaviour". In FreeBSD you need to include the character set in your locale string. This is not a bug, but I believe by design. Whether this is conform to somebodys "expectations" or not, I'm not sure. I don't think it is a violation of any standards, however. But I might be mistaken. To make some program work, that has a locale string hard coded, you might need to make the symlink as described in my previous mail. /sve