[Linux-disciples] Weird characters in Gentoo terminals

Stephen R Laniel steve at laniels.org
Thu Apr 27 09:57:16 EDT 2006


On Wed, Apr 26, 2006 at 04:02:47PM -0400, Dylan Thurston wrote:
> Try starting a terminal program from within another terminal; that will
> then inherit the right locale.

That definitely got me on the right track to solving it. I
looked in my terminal and saw that I had two choices: either
set the encoding to UTF-8, or use the current locale --
which was (inexplicably) ansi_x3.4-1968 .

So I googled a bit and found
http://www.gentoo.org/doc/en/guide-localization.xml?style=printable

which told me that I should

1) set the various LC_ variables in /etc/env.d/02locale to
   make the changes take effect systemwide, then

2) update the global environment with 'env-update && source
   /etc/profile', and finally

3) kill X, log out, and log back in. Oh, and then

4) verify that everything's cool, via "env |grep -i LC_".

That seems to have done the trick; my terminal now only
tells me that I have one encoding choice, namely UTF-8.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060427/9f500261/attachment.pgp


More information about the Linux-disciples mailing list