From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QR6Tg-0005nn-FI for garchives@archives.gentoo.org; Mon, 30 May 2011 17:42:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 205FA1C034; Mon, 30 May 2011 17:40:32 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id EF1211C034 for ; Mon, 30 May 2011 17:40:31 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id A79C52041A for ; Mon, 30 May 2011 13:40:31 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 30 May 2011 13:40:31 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=deBySuR2A4+d+MtuU2U6faGZHJA=; b=hJuipm1+lH02YwTQhHsoYoelE75gHjN15cGKUOTgX7PBvwuo5f67ZTaJGP9FkAZDvGPtmQ1bXKBfVGSUFs+g+EX6dOKkUtSLyjJzn102w7CSnlIeNmIg+n9nXObpYu8o1JD5sHSAIzUPYiJ8fIZqeXi8SNlQJzFBG9aWpCQx5iI= X-Sasl-enc: fJQtfy5FNyPiAWmnaSfsuOzUc608IAahensW88xNoWNf 1306777229 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 229FE443699 for ; Mon, 30 May 2011 13:40:28 -0400 (EDT) Message-ID: <4DE3D680.4070607@binarywings.net> Date: Mon, 30 May 2011 19:40:16 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110507 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] setting locale References: <20110530154319.79d2a610@karnak.local> In-Reply-To: <20110530154319.79d2a610@karnak.local> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig02A638534CCA7C47EED1AE57" X-Archives-Salt: X-Archives-Hash: 03fb58622b09fc609d42ea4321d6a9e4 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig02A638534CCA7C47EED1AE57 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 30.05.2011 16:43, schrieb David W Noon: > On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re: > [gentoo-user] setting locale: >=20 >> m=C3=A5ndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb: >>> What must I do to get "en_US_utf8" ? >> >> echo "LANG=3Den_US_utf8" > /etc/env.d/02locale >> and >> env-update >> should work. >=20 > Not likely. The correct locale string is "en_US.UTF-8", not the mess > that is written above. >=20 Please stay polite. It also saves you the effort of writing those words. = ;) > Moreover, I never use file redirection from echo when a text editor is > a more appropriate tool. What you have suggested above could well > replace a valid locale setting with an that invalid one, without any > checks at all on the existing contents of the file. So, it's best to > use vim, nano or even emacs for such a job. Sure thing. However, it is much faster to type `echo foo > bar` than writing "Open your favorite file editor and enter 'foo' into 'bar'." Being concise is often the better approach when you want to show a solution to the problem at hand instead of educating the reader. Everyone who is able to install Gentoo should be able to understand the shell line and use whatever approach he wants to achieve the same result and if he is satisfied with the given line, he has a copy-and-paste solution at hand (my colleagues call this "service to the reader"). Regards, Florian Philipp --------------enig02A638534CCA7C47EED1AE57 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3j1oYACgkQqs4uOUlOuU8wuwCeO6eSD1drN00wcP9JmCkRCqlC OIUAnA364oSi9XqCQpqKw1I4Wy7ZELDK =17Um -----END PGP SIGNATURE----- --------------enig02A638534CCA7C47EED1AE57--