Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Umlaute noch nichtmal in der Konsole
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Sun Oct 08, 2006 7:01 pm    Post subject: [SOLVED] Umlaute noch nichtmal in der Konsole Reply with quote

Hallo!
Ich les mich heute schon den ganzen Tag durch Dokumentationen, HowTo's, Wikieinträge usw... aber nichts will mir helfen.
Mein Problem: Die Umlaute können in der Konsole nicht dargestellt werden, in Terminalemulatoren nur in der Eingabezeile, nicht aber in der Ausgabe von ls bei Dateinamen, wohl aber in Fensterprogrammen wie OOffice oder Firefox.
Mein System: Soll so eingerichtet sein, dass ich (zumindest in X) zwischen zwei Tastatourlayout (dem deutschen und englischen) hin- und herschalten kann, was auch wunderbar klappt. Weiterhin hab ich nur einige Lokalisationsvariablen auf Deutsch geändert und die meisten auf Englisch belassen.

Hier einige Dateien und Informationen...

Im Kernel sind sämtlich Charsets hineinkompiliert: utf8, ISO-8859-1, ISO-8859-15, europe(codepage 850)... Default NLS option: utf8

/etc/env.d/02locale:

Code:
LC_COLLATE="en_US"
LC_CTYPE="de_DE"
LC_MESSAGES="en_US"
LC_MONETARY="de_DE"
LC_NUMERIC="de_DE"
LC_TIME="de_DE"
LC_PAPER="de_DE"


locale -a:

Code:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE.utf8
de_DE@euro
en_US.utf8


/etc/locale.gen:

Code:
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
de_DE@euro ISO-8859-15


/etc/make.conf:

Code:
[...]
USE="nvidia win32codecs unicode nls"
LINGUAS="en de"


/etc/conf.d/keymaps:

Code:
KEYMAP="us"
SET_WINDOWKEYS="no"
EXTENDED_KEYMAPS=""
DUMPKEYS_CHARSET=""


/etc/conf.d/consolefont:

Code:
CONSOLEFONT="lat9w-16"
CONSOLETRANSLATION="8859-1_to_uni"


/etc/rc.conf:

Code:
[...]
UNICODE="YES"


Was mache ich falsch?

Ich habe mir viel zum Thema Umlauten und Lokalisation durchgelesen (auch mehrere Beiträge in diesem Forum), wenn ich trotzdem was übersehen habe, seit bitte nachsichtig ;-)

Grüße,
Bastian


Last edited by baschni on Mon Oct 30, 2006 9:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Mon Oct 09, 2006 8:43 pm    Post subject: Re: Umlaute noch nichtmal in der Konsole Reply with quote

baschni wrote:
...
/etc/conf.d/keymaps:

Code:
KEYMAP="us"
SET_WINDOWKEYS="no"
EXTENDED_KEYMAPS=""
DUMPKEYS_CHARSET=""



Wer "us" einstellt bekommt auch "us".

So sieht ein funktionierendes Layout aus:
Code:
# /etc/conf.d/keymaps
KEYMAP="de-latin1-nodeadkeys"
DUMPKEYS_CHARSET="iso-8859-15"

_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Mon Oct 09, 2006 9:39 pm    Post subject: Reply with quote

Ich habe "us" eingestellt und wollte "us".
Der tolle Typ hat lediglich das Tastaturlayout von englisch auf deutsch umgestellt, was ich garnicht wollte. Umlaute wurden in der ls-Ausgabe immernoch als ? dargestellt.
Hat keiner eine Idee woran's liegen könnte?
Grüße,
Bastian
Back to top
View user's profile Send private message
DerMojo
Guru
Guru


Joined: 14 Aug 2003
Posts: 395
Location: Germany

PostPosted: Tue Oct 10, 2006 1:31 pm    Post subject: Reply with quote

Vielleicht hat dein Filesystem eine andere Kodierung als dein Terminal (hatte ich mal mit UTF-8 ...).
_________________
To err is human, to forgive, beyond the scope of the Operating System.
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Tue Oct 10, 2006 3:26 pm    Post subject: Reply with quote

Wie kann ich das denn rausbekommen? Ich hab die Platte damals mit ner englischen LiveCD partitioniert und formatiert... Ka. wie die kodiert ist.
Back to top
View user's profile Send private message
phlexx
n00b
n00b


Joined: 11 Jul 2006
Posts: 42

PostPosted: Tue Oct 10, 2006 6:27 pm    Post subject: Reply with quote

in der /etc/env.d/02locale:
Code:

LANG="de_DE.utf8"

mit LANG werden alle LC-* Variablen auf einmal gesetzt.
Code:

env-update
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Tue Oct 10, 2006 7:20 pm    Post subject: Reply with quote

Das ist mir bewusst, aber warum sollte das das Filesystem davon beeinflusst werden?
Auch wenn ich LANG setze, hab ich keine Umlaute in der Konsole. Ausserdem möchte ich teile der LC-Variablen auf englisch setzen.
Back to top
View user's profile Send private message
phlexx
n00b
n00b


Joined: 11 Jul 2006
Posts: 42

PostPosted: Wed Oct 11, 2006 8:42 am    Post subject: Reply with quote

hast du auch immer ganz genau "de_DE.utf8" bzw "en_US.utf8" eingetragen ? (das .utf8 is sehr wichtig!)
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Wed Oct 11, 2006 9:30 am    Post subject: Reply with quote

Ja, hatte es vorher mit LANG und LC_ALL="de_DE.utf8" ausprobiert und hab es auch jetzt noch mal ausprobiert. Wie gesagt, auf der Eingabezeile funktionieren Umlaute und auch bei der TAB-Completion. Nur ls zeigt sie immer noch als ? an und alle anderen Programme können die Umlaute auch nicht lesen. Woran liegt das bloß?
Back to top
View user's profile Send private message
May-C
Apprentice
Apprentice


Joined: 06 Sep 2004
Posts: 173
Location: Schweiz

PostPosted: Wed Oct 11, 2006 3:23 pm    Post subject: Reply with quote

Hast du folgendes im Kernel?
Quote:

File Systems -->
Native Language Support -->
(utf8) Default NLS Option
<*> NLS UTF8
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Sun Oct 15, 2006 3:21 pm    Post subject: Reply with quote

Ja, hab ich... wie gesagt, alles nach diesem wiki guide, da steht das auch drin
Back to top
View user's profile Send private message
Robmaster
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2005
Posts: 110
Location: Berlin

PostPosted: Fri Oct 20, 2006 4:54 am    Post subject: Reply with quote

Achtung neue Schreibweise l "de_DE.utf-8"
Back to top
View user's profile Send private message
baschni
Apprentice
Apprentice


Joined: 08 Sep 2005
Posts: 193

PostPosted: Mon Oct 30, 2006 9:28 pm    Post subject: Reply with quote

Jaaaaaaaaaaaaa.... das hat geholfen, danke!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum