Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
text encoding in console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Sat Nov 05, 2005 6:27 am    Post subject: text encoding in console Reply with quote

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
View user's profile Send private message
DaSch
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2003
Posts: 126
Location: Stuttgart

PostPosted: Sat Nov 05, 2005 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Sun Nov 06, 2005 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
DaSch
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2003
Posts: 126
Location: Stuttgart

PostPosted: Sun Nov 06, 2005 12:40 pm    Post subject: Reply with quote

no LANG is for your national settings
you could check
Code:
man locale

_________________
linux is like a bitch, open for everyone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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