From owner-freebsd-stable@FreeBSD.ORG Sat Jan 22 17:09:37 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FACB16A4CE for ; Sat, 22 Jan 2005 17:09:37 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3402B43D39 for ; Sat, 22 Jan 2005 17:09:36 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 22 Jan 2005 17:09:34 -0000 Received: from p3EE26C32.dip.t-dialin.net (EHLO lofi.dyndns.org) (62.226.108.50) by mail.gmx.net (mp027) with SMTP; 22 Jan 2005 18:09:34 +0100 X-Authenticated: #443188 Received: from [192.168.8.4] (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j0MH7v0Z092736 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 22 Jan 2005 18:08:09 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-stable@freebsd.org Date: Sat, 22 Jan 2005 18:07:40 +0100 User-Agent: KMail/1.7.2 References: <41F276CD.8020907@cs.tu-berlin.de> In-Reply-To: <41F276CD.8020907@cs.tu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2475791.EgKh8slqY5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501221807.48299.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: =?iso-8859-15?q?Bj=F6rn_K=F6nig?= Subject: Re: correct value for LANG variable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 17:09:37 -0000 --nextPart2475791.EgKh8slqY5 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday, 22. January 2005 16:52, Bj=F6rn K=F6nig wrote: > I am a bit confused. Neither de_DE.ISO-8859-1 nor > de_DE.ISO8859-1 work properly in all cases. > > > setenv LANG de_DE.ISO8859-1 > > echo abcdef uvwxyz | tr '[a-z]' '[A-Z]' > > ABCDEF =DAWXY=DD] This is the correct locale name, but don't use tr like that, you can't rely= on=20 that to work correctly with charsets which aren't symmetric in=20 lower&uppercase characters (it used to work at some point for the ISO8859-1 [5] locales but ceased after a POSIX related modification to tr). Use tr [:lower:] [:upper:] instead. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart2475791.EgKh8slqY5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB8ohkXhc68WspdLARArXqAJ4isHSLx4STYycxDXYSzzhjdMXg7ACgpzlB bCtmD56+d1q/9D36UcFDGOs= =c2Cl -----END PGP SIGNATURE----- --nextPart2475791.EgKh8slqY5--