Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-26-2003, 07:38 PM   #1
LQ Newbie
Registered: May 2003
Posts: 22

Rep: Reputation: 15
National () characters in console

I cant get (a with a ring, a with two dots, o with two dots) to work in a console. They work in X and in a shell run from X but not without X. When I press the -keys in the console i get some strange chars similar to how the 's looked when you opened files written in windows programs in dos. "" becomes some strange greek character, "" becomes sigma and "" becomes the division symbol that is used on the buttons of calculators.

However when I open files in X programs containing those strange symbols I have instead of they display as . Conversively 's written in X programs display as those strange symbols in the console. When I press Alt+132, Alt+134 and Alt+148 in the console it displays the correct characters. Pressing "^" + a or some other similar keykombination does not give the correct chars but some strange greek characters instead.

In inputrc I have: "set meta-flag on", "set convert-meta off" and "set output-meta on". I have also compiled the locale via "localedef -c -f charmaps/ISO-8859-1 -i locales/sv_SE sv_SE.iso-8859-1" and enabled it by adding "LC_CTYPE=swedish" in /etc/profile.

I use as keymap and changing keymap doesn't change anything. Just that the -keys produce some other greek symbols. :-( Please help!
Old 11-26-2003, 08:09 PM   #2
Registered: Jul 2003
Location: Gteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
Does this thread help you?

Old 11-26-2003, 08:14 PM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Set export LC_CTYPE=sv_SE in /etc/profile, log out, then log in again. If this causes command output to be in swedish, set export LANGE=en_US to get the default US English again.

Old 11-26-2003, 09:08 PM   #4
LQ Newbie
Registered: May 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I do get Swedish translations with export LC_CTYPE=sv_SE but is still not displayed correctly. The tips in the other thread didn't work either. :-( Everything used to work fine in RH 7.3 but I've had this problem ever since I upgraded to RH 9.
Old 11-27-2003, 07:00 PM   #5
LQ Newbie
Registered: May 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I managed to fix the problem with:

kbd_mode -u
setfont iso01.08.gz

But when i switch to x (ctrl+alt+f7) and then back to the console the font gets reset to the previous one which doesn't have . Maybe I need to make it so that a font with Swedish characters is loaded on startup? If so, how?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Characters disappearing from console Red Sparrow Linux - Hardware 0 07-15-2005 06:17 PM
cedega firedance Linux - Software 0 05-19-2005 11:09 AM
Graphic characters for Linux Console JLAlber Linux - General 0 04-20-2005 04:57 PM
National character and UTF-8 pingu Linux - Software 3 04-20-2005 02:58 AM
national characters missing in java applications zgolus Slackware 0 12-01-2003 04:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration