public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Kernel update messed up console encoding
Date: Sun, 01 Mar 2009 12:30:02 +0200	[thread overview]
Message-ID: <godo35$jh2$1@ger.gmane.org> (raw)
In-Reply-To: <0ML21M-1Ldi5r2mAw-00066S@mrelayeu.kundenserver.de>

Florian v. Savigny wrote:
>   > locale 
>   > should shown it to you
> 
> Thanks. $LANG and $LC_ALL are not set (i.e. locale simply shows
> "LANG=" and "LC_ALL=" with no values). All other LC_... variables are
> set to "POSIX".

I don't think that will work.  Here, locale says:

   LANG=en_US.UTF-8
   LC_CTYPE="en_US.UTF-8"
   LC_NUMERIC="en_US.UTF-8"
   LC_TIME="en_US.UTF-8"
   LC_COLLATE="en_US.UTF-8"
   LC_MONETARY="en_US.UTF-8"
   LC_MESSAGES="en_US.UTF-8"
   LC_PAPER="en_US.UTF-8"
   LC_NAME="en_US.UTF-8"
   LC_ADDRESS="en_US.UTF-8"
   LC_TELEPHONE="en_US.UTF-8"
   LC_MEASUREMENT="en_US.UTF-8"
   LC_IDENTIFICATION="en_US.UTF-8"
   LC_ALL=en_US.UTF-8

So I suppose you need something like "de_DE.ISO-8859-15@euro".  You need 
only set LANG and and LC_ALL.  The rest is derived automatically from 
those two.

To do this, edit the file /etc/env.d/02locale.  There should be only two 
lines in it:

   LC_ALL="de_DE.ISO-8859-15@euro"
   LANG="de_DE.ISO-8859-15@euro"

Substitute "ISO-8859-15" with whatever you're using.  After editing, run 
"env-update" as root.  Reboot (just to make sure) and try again.

I really recommend UTF-8 though:

   LC_ALL="en_US.UTF-8"
   LANG="en_US.UTF-8"




  reply	other threads:[~2009-03-01 10:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27 17:29 [gentoo-user] Kernel update messed up console encoding Florian v. Savigny
2009-02-27 21:05 ` Sebastian Günther
2009-02-28 10:34   ` Florian v. Savigny
2009-02-28 11:34     ` Eray Aslan
2009-02-28 14:26     ` Sebastian Günther
2009-02-28 17:38       ` Florian v. Savigny
2009-02-28 18:48         ` Sebastian Günther
2009-03-01  9:36           ` Florian v. Savigny
2009-03-01 10:30             ` Nikos Chantziaras [this message]
2009-03-01 12:25               ` [gentoo-user] " Florian v. Savigny
2009-03-01 12:48                 ` Nikos Chantziaras
2009-03-02  1:01                   ` Florian v. Savigny
2009-03-02 11:29                     ` Nikos Chantziaras
2009-03-02 12:51                       ` Florian v. Savigny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='godo35$jh2$1@ger.gmane.org' \
    --to=realnc@arcor.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox