Problems with localization in Gnome 2.20.2

Joe Marcus Clarke marcus at marcuscom.com
Sat Mar 22 13:06:29 PDT 2008


On Sat, 2008-03-22 at 17:22 +0100, TooMany Secrets wrote:
> Hi!
> 
> Not used gnome since 2005 and freebsd 6.0 (I think), but now I have
> re-installed on a 7.0-RELEASE FreeBSD i386.
> The problem was that I had never had problems with accents and other
> locations for the Spanish, but now if I have to.
> 
> The problem is that I have all the gnome in Spanish correctly, but if
> I open a gnome-terminal, I can not use certain characters like accents
> and / or "ñ". By contrast, console (noX), I have no problem
> whatsoever.
> 
> The data that I can give are:
> Shell: Bash
> 
> Xorg Configuration:
> Section "InputDevice"
>          Identifier "Keyboard0"
>          Driver "kbd"
>          Option "Protocol" "Standard"
>          Option "XkbLayout" "
>          Option "XkbModel" pc105 "
>          Option "XkbRules" xorg "
>          Option "XkbVariant" "winkeys"
> EndSection
> 
> - /etc/login.conf:
> 
> :lang=es_ES.ISO8859-15:\
>         :charset=es_ES.ISO8859-15:\
>         :lc_all=es_ES.ISO8859-15:\
>         :lc_messages=es_ES.ISO8859-15:\
>         :lc_monetary=es_ES.ISO8859-15:\
>         :lc_numeric=es_ES.ISO8859-15:\
>         :lc_time=es_ES.ISO8859-15:
> 
> - .bashrc:
> 
> export LC_ALL="es_ES.ISO8859-15"
> export LC_CTYPE="es_ES.ISO8859-15"
> export LANG="es_ES.ISO8859-15"
> export LESSCHARSET="latin1"
> export LC_COLLATE="es_ES.ISO8859-15"
> 
> - .bash_profile
> 
> export LC_ALL="es_ES.ISO8859-15"
> export LC_CTYPE="es_ES.ISO8859-15"
> export LANG="es_ES.ISO8859-15"
> export LESSCHARSET="latin1"
> 
> - .xinitrc
> 
> LANG=es_ES.ISO8851-15: export LANG
> 
> And I do not think I miss nothing more... Why I cannot use correctly a
> terminal-shell (gnome-terminal or xterm)???

First, check your LANG in the terminal (echo $LANG).  Next, check the
current character encoding under Terminal > Set Character Encoding (or
whatever that is in Spanish).  Finally, check Keyboard Capplet's Layout
tab to make sure a Spanish keyboard layout is selected.  I tested
everything except changing my layout, and I can paste a ñ into
gnome-terminal from gucharmap:

% ñ
ñ: Comando no encontrado.

So it can be made to work.

Something else you might try is using es_ES.UTF-8 as your locale.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080322/d3104559/attachment.pgp


More information about the freebsd-gnome mailing list