Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
terminal doesn't recognise special characters (SOLVED)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pau
Apprentice
Apprentice


Joined: 26 Dec 2004
Posts: 159
Location: /home/pau/

PostPosted: Fri Jan 28, 2005 12:01 pm    Post subject: terminal doesn't recognise special characters (SOLVED) Reply with quote

Hi,

I have a german keyboard and am using catalan locales. Since I did yesterday a

Code:

localedef -c -f UTF-8 -i ca_ES ca_ES.UTF-8
'


to use these locals (which did not work, by the way), my problem is that terminal doesn't recognise characters like á é è à ß ü ä € etc... Other applications like gdm do not recognise them either (but in the username I am able to employ them)
But, as you can see, I am able to write them in other applications, like firefox, xemacs, xterm... Couriously vi doesn't display them right either (when called from xterm neither).

This is my /etc/rc.conf

Code:

# /etc/rc.conf: Global startup script configuration settings
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.22 2003/10/21 06:09:42 vapier Exp $

# Use KEYMAP to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.  This setting is used by the
# /etc/init.d/keymaps script.

KEYMAP="de"
#KEYMAP="de-latin1-nodeadkeys"
# 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="yes"

# The maps to load for extended keyboards.  Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# 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"
#CONSOLEFONT="lat9w-16"
# CONSOLETRANSALTION 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"
#CONSOLETRANSLATION="8859-15_to_uni"
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then set CLOCK
# to "local".  This setting is used by the /etc/init.d/clock script.

CLOCK="UTC"

# Set EDITOR to your preferred editor.

#EDITOR="/bin/nano"
EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# Set PROTOCOLS to the protocols that you plan to use.  Gentoo Linux will only
# enable module auto-loading for these protocols, eliminating annoying module
# not found errors.
#
# NOTE: Do NOT uncomment the next lines, but add them to 'PROTOCOLS=...' line!!
#
# Num   Protocol
# 1:    Unix
# 2:    IPv4
# 3:    Amateur Radio AX.25
# 4:    IPX
# 5:    DDP / appletalk
# 6:    Amateur Radio NET/ROM
# 9:    X.25
# 10:   IPv6
# 11:   ROSE / Amateur Radio X.25 PLP
# 19:   Acorn Econet

# Most users want this:
PROTOCOLS="1 2"

#For IPv6 support:
#PROTOCOLS="1 2 10"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="gdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

XSESSION="Gnome"


Changing between default8x16 and lat9w-16 doesn't help.

Any idea? :roll:


Last edited by pau on Tue Feb 01, 2005 9:23 am; edited 1 time in total
Back to top
View user's profile Send private message
pau
Apprentice
Apprentice


Joined: 26 Dec 2004
Posts: 159
Location: /home/pau/

PostPosted: Fri Jan 28, 2005 5:08 pm    Post subject: gnome-terminal accents, cedille etc Reply with quote

Again, I post here the solution of the puzzle hoping that it will help somebody in the future:

Code:
localedef -c -f ISO-8859-15 -i ca_ES ca_ES.ISO-8859-15
localedef -c -f ISO-8859-15 -i ca_ES@euro ca_ES@euro


One of these should solve the problem...

8O
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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