You are not logged in.

#1 2012-12-18 04:33:18

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

[SOLVED]Special characters not working on terminal

Hi everybody, my problem here is that when i log in from tty i can see characters like áéíóúñ and so, but when i start a terminal in E17, i can't see them. I just see diamonds with ? or just the ?.
Here's my output of locale and locale -a

Yes, Master earth? > 
locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=es_US
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=


locale -a
C
en_US
en_US.iso88591
en_US.utf8
es_SV
es_SV.iso88591
es_SV.utf8
POSIX

PD: I use Sakura as my main terminal, but also UXterm and Xterm
Any ideas?
thanks!
TheEdward

Last edited by TheEdwardRCT (2012-12-19 23:44:48)

Offline

#2 2012-12-18 04:57:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Special characters not working on terminal

I don't know if this has anything to do with it, but my output says nothign about trying to set LC_ALL.  Apparently this should not be set anyway, though if it is unable to set it, I am doubting that it has anything to do with it.

What are the contents of /etc/locale.conf?

Offline

#3 2012-12-18 05:14:02

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

This are the contents

LANG=es_SV.UTF-8
LC_TIME=es_US

The thing is that in console(tty) i use the Lat2-Terminu16 font with setfont for the áé... characters, but in a terminal (Sakura) i can't set it with setfont, says this:
Couldn't get a file descriptor referring to the console

Is just the Terminals that can't display that characters, just the consoles can.

i just can't see them...
TheEdward

Offline

#4 2012-12-18 05:19:30

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Special characters not working on terminal

Oh I see, you don't use setfont to set an X terminal's font.


Edit: I realized that answer was a bit sparse.  It depends on the terminal in how you set the font.  But you should know that the fonts that X uses are not the same as teh fonts that the console/tty use.  There are a number of wiki pages dedicated to fonts (inluding one appropriately titled "Fonts").  When in doubt, use the wiki.  If that fails, come ask here.

Last edited by WonderWoofy (2012-12-18 05:23:01)

Offline

#5 2012-12-18 05:21:20

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

I've just learned that, but thanks!
In Sakura's options i can change the font, i've tried with all the ones that i know that have the special chars, but still nothing. So, how do i get those characters?
TheEdward

Offline

#6 2012-12-18 05:23:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Special characters not working on terminal

I edited my post.

Offline

#7 2012-12-18 05:25:25

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

After a dedicated read to the wiki about the fonts, i've done everything related to terminal fonts, but i still have this problem. Could you help me out?
Still can't get the special characters on the terminal.

TheEdward

Last edited by TheEdwardRCT (2012-12-18 20:20:16)

Offline

#8 2012-12-18 20:22:48

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

I also edited my post.

Offline

#9 2012-12-18 23:45:06

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

Update: XTerm and Terminology can display the áéíóúñ and such characters, but when i start some CLI app, like cmus, finch, mutt, elinks... The special characters are displayed, but i can't write them, i mean, when i pres ' and then a vowel and nothing comes out, also the ñ character, when i press the button it is like it does not exist in the CLI apps, it does exist in the terminal, so this is kinda strange..

Last edited by TheEdwardRCT (2012-12-19 04:22:07)

Offline

#10 2012-12-19 04:20:46

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

No one has any idea of how to solve this?

Offline

#11 2012-12-19 04:33:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Special characters not working on terminal

Please don't bump your thread anymore
https://wiki.archlinux.org/index.php/Fo … te#Bumping


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2012-12-19 05:26:13

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]Special characters not working on terminal

To add to what Jason said: If you have minor stuff to add, simply edit your previous post (use the "Edit" button).


To know or not to know ...
... the questions remain forever.

Offline

#13 2012-12-19 23:44:22

TheEdwardRCT
Member
Registered: 2012-12-17
Posts: 26

Re: [SOLVED]Special characters not working on terminal

Yes, thanks, i've read all the wiki related to forums, now i understand wink by the way, now my Arch installation is showing  the characters, i guess that is related to /etc/locale.conf and /etc/vconsole.conf, but i'm not quite sure, because i really don't know how was it solved. Anyhow, thank you everybody.

Offline

Board footer

Powered by FluxBB