View previous topic :: View next topic |
Author |
Message |
The_P Apprentice
Joined: 13 Mar 2004 Posts: 248
|
Posted: Sat Nov 05, 2005 6:27 am Post subject: text encoding in console |
|
|
Hello
I have a problem whith the console. If I use one of the consoles with ctrl-alt-f1,f2,f3. The encoding of the text is completly wrong. For exapmle if I have än ä,ü or ö in a filename it just displays a "?" for this letter. When I press the key ä on the keyboard there is a really strange symbol displayd on the screen. If I want to use the key "|" for making a pipe just nothing is displayed.
Under xterm the behaviour is better the only problem there are filenames and directory names with ä,ü or ö in it. They are shown whith a "?" as letter instead of ü,ä or ö. |
|
Back to top |
|
|
DaSch Tux's lil' helper
Joined: 10 Jun 2003 Posts: 126 Location: Stuttgart
|
Posted: Sat Nov 05, 2005 12:56 pm Post subject: |
|
|
hi
do you have unicode enabled? If yes, are the filenames also in unicode? look in /etc/conf.d/keymaps and in /etc/conf.d/consolefonts and also check your language settings (env var. LANG)
it looks like an encoding configuration problem, i think.
hth,
dasch _________________ linux is like a bitch, open for everyone |
|
Back to top |
|
|
The_P Apprentice
Joined: 13 Mar 2004 Posts: 248
|
Posted: Sun Nov 06, 2005 9:22 am Post subject: |
|
|
Hello
My variable LANG ist emty. But isn't LANG only for emerging packages? Am I wrong do I have to set LANG in my /etc/profile? Now I have set it in /etc/make.conf.
Code: |
# /etc/conf.d/consolefont
# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console. You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).
CONSOLEFONT="default8x16"
# CONSOLETRANSLATION is the charset map file to use. Leave commented to use
# the default one. Have a look in /usr/share/consoletrans for a selection of
# map files you can use.
CONSOLETRANSLATION="8859-1_to_uni"
|
Code: |
# /etc/conf.d/keymaps
# Use KEYMAP to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
KEYMAP="de_CH-latin1"
# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".
SET_WINDOWKEYS="no"
# The maps to load for extended keyboards. Most users will leave this as is.
EXTENDED_KEYMAPS=""
#EXTENDED_KEYMAPS="backspace keypad euro"
# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set UNICODE="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
DUMPKEYS_CHARSET=""
|
These are my two files. Is there anything wrong with them?[/code] |
|
Back to top |
|
|
DaSch Tux's lil' helper
Joined: 10 Jun 2003 Posts: 126 Location: Stuttgart
|
Posted: Sun Nov 06, 2005 12:40 pm Post subject: |
|
|
no LANG is for your national settings
you could check
_________________ linux is like a bitch, open for everyone |
|
Back to top |
|
|
|