LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-26-2003, 06:38 PM   #1
Sonderblade
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 sv-latin1.map.gz as keymap and changing keymap doesn't change anything. Just that the -keys produce some other greek symbols. :-( Please help!
 
Old 11-26-2003, 07:09 PM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Gteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
Does this thread help you?

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

Rep: Reputation: 57
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.

Hkan
 
Old 11-26-2003, 08:08 PM   #4
Sonderblade
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, 06:00 PM   #5
Sonderblade
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?
 
  


Reply


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 05:17 PM
cedega firedance Linux - Software 0 05-19-2005 10:09 AM
Graphic characters for Linux Console JLAlber Linux - General 0 04-20-2005 03:57 PM
National character and UTF-8 pingu Linux - Software 3 04-20-2005 01:58 AM
national characters missing in java applications zgolus Slackware 0 12-01-2003 03:30 AM


All times are GMT -5. The time now is 07:42 PM.

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