Tiny Core Base > CorePlus

Terminal UTF-8

(1/1)

ramonriera:
Hello all !!!

I am a happy user of tc 3 but I have kmap configured in Spanish and in the editor and LeafPad I can work with accents and the letter Ñ but not in the terminal window and in nano editor.

In terminal window I get ? character instead of accented character or blanks in nano editor.

I think it is a configuration issue with UTF-8 in terminal.

Does anyone know how to fix it?

Thanks and greetings,

Ramon

patrikg:

I think you have to set the X11 keyboard setting.

We have lots of threads talking about that.

Take a look at this thread.

http://forum.tinycorelinux.net/index.php/topic,25540.msg163660.html#msg163660

ramonriera:
patrikg, thanks for your help.

Greetings,

Ramon

jazzbiker:
Hi ramonriera,

Have You loaded setfont.tcz? And do you start an appropriate font in Your /opt/bootlocal.sh? In order to have the Cyrillic fonts in console I've added to my bootlocal.sh the line

--- Code: ---setfont UniCyr_8x16

--- End code ---

where UniCyr_8x16 can be found among another fonts located in /usr/local/share/consolefonts. There are a lot of fonts in this directory, I am pretty sure that Spanish is present, but I don't know what exactly the name is.
 

jazzbiker:

--- Quote from: ramonriera on February 18, 2022, 04:34:50 AM ---
In terminal window I get ? character instead of accented character or blanks in nano editor.


--- End quote ---

Sorry, I was not attentive enough and missed that You mentioned the terminal window, so You are talking about the terminal emulator running under one of X servers.
If You are using the default aterm You will not be able to solve the problem, because aterm itself doesn't support the UTF-8. In order to handle UTF-8 properly You need urxvt for example. Then You will need to add to Your ~/.Xdefaults the description like:

--- Code: ---urxvt*font: xft:DejaVuSansMono:pixelsize=16

--- End code ---
I assume that You have loaded dejavu-fonts-ttf.tcz

Navigation

[0] Message Index

Go to full version