Skip to main content
Topic: Problem with symbols in different languages (Read 906 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Problem with symbols in different languages

Hello guys, i have problem with runit base. in my lenguaje i use "ñ" ,   However, I can not write it in my terminal. I tried different terminals as my favorite which is simple terminal, terminator, konsole and among many and none I can write the "Ñ", in my browser if I can do it, also in GUI programs such as libreoffice.  This only happens in artix runit base but in artix runit with a desktop environment if you can write the "ñ" both in terminal and in GUI programs. I really need someone to help me with this. With OpenRC this didn't used to happen, but I don't want to go back to OpenRC because I don't like it.


Re: Problem with symbols in different languages

Reply #1
Perhaps you need to uncomment es_ES.UTF-8 UTF-8 in /etc/locale.gen and regenerate the localization files with locale-gen?

Re: Problem with symbols in different languages

Reply #2
If that doesn't work try to install a font package (don't know which one, there are loads about, and some are very large) because it's possible that character does not exist for the font type you have selected in the desktop apps in the currently installed font packages, especially as you installed from base so might not have many fonts as standard.

 

Re: Problem with symbols in different languages

Reply #3
For some reason it happens that every time I press "ñ", I get <ffffffff> this only happens in zsh, in bash it happens that I can write normally.  I don't know if it's due to the shell, but it seems strange to me, i will reinstall artix there if it is my fault.
Thank you, however, your recommendations were helpful.

Re: Problem with symbols in different languages

Reply #4
Code: [Select]
% ls ñññññññ 
ñññññññ
Seems to work for me in bash, sh and zsh, although I copied and pasted the character as it's not on my current keyboard map. But it seems able to display it OK. That was in MATE terminal and Terminator, but with OpenRC. Browsers often have / find online their own fonts.
OpenRC has a service called consolefont - perhaps there is some issue with the Runit equivalent where Runit didn't run it?  :D Having said that, that service is not enabled on my system anyway it seems.

Re: Problem with symbols in different languages

Reply #5
It is either locale, your terminal, encoding (utf8 or something else?), missing fonts or something.
In the past I had similar problem when I did not have generated my locales.
So I would start by re-generating locales.

Re: Problem with symbols in different languages

Reply #6
For some reason it happens that every time I press "ñ", I get <ffffffff> this only happens in zsh, in bash it happens that I can write normally.  I don't know if it's due to the shell, but it seems strange to me, i will reinstall artix there if it is my fault.
Thank you, however, your recommendations were helpful.
Issue 'locale' from within bash and zsh and post both outputs here, enclosed in code tags.