Xfce Community
September 02, 2010, 03:55pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Report bugs in our bug tracker.
   
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Umlaute in Terminal?  (Read 4017 times)
0 Members and 1 Guest are viewing this topic.
maystorm
Newbie
*
Offline Offline

Posts: 3


« on: April 05, 2007, 03:11pm »

I just checked out the terminal emulator 'Terminal' which comes with Xfce and I decided that it's worth replacing Aterm which I used until now.  Smiley

However, how do I enable umlaute and other 8-bit special characters? I cannot enter them and they are only shown as question marks when displaying them.

TIA!

[Edit]: Changed the title to SOLVED.
« Last Edit: April 14, 2007, 05:55pm by maystorm » Logged
dStulle
Newbie
*
Offline Offline

Posts: 3


« Reply #1 on: April 14, 2007, 06:31am »

wich version of Terminal do you have? ($ Terminal -v)

what locale do you have set? ($ locale)
Logged
maystorm
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: April 14, 2007, 08:30am »

'$ Terminal -v' gives:

Code:
Terminal 0.2.6 (Xfce 4.4.0)

Copyright (c) 2003-2007
        os-cillation e.K. All rights reserved.

Written by Benedikt Meurer <benny@xfce.org>.

Built with Gtk+-2.10.9, running with Gtk+-2.10.9.


'$ locale' gives:

Code:
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

So I guess it has something to do with my locale settings?
Logged
Jellybean
Newbie
*
Offline Offline

Posts: 43


« Reply #3 on: April 14, 2007, 04:56pm »

This is my output of locale and I can type "umlaut" I think (if you mean ö and ü). So you could try to change to that. (How I don't know...)
Code:
LANG=en_US.UTF-8
LANGUAGE=en_NO:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Logged
maystorm
Newbie
*
Offline Offline

Posts: 3


« Reply #4 on: April 14, 2007, 05:54pm »

That's it. I've set:

Code:
LC_ALL="de_DE@euro"
LANG="de_DE@euro"

in one of my configuration files which are loaded at start-up (it's '/etc/env.d/02locale' for Gentoo) and I get all the Umlauts (e.g. ä, ö, ü, ß).

Now I just need to check which of the various LC_* variables is responsible for this behaviour as LC_ALL overrides all individual ones.

Thanks for pointing me into the right direction!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!