You are not logged in.

#1 2021-01-20 09:10:44

Sbloge
Member
Registered: 2021-01-20
Posts: 3

Some Characters like öäå and \ not working in terminal.

My locale.conf is

 LANG=en_US.UTF-8 

and my locale.gen has all this unchecked.

en_US.UTF-8 UTF-8
en_US ISO-8859-1
sv_SE.UTF-8 UTF-8
sv_SE ISO-8859-15

Typing Swedish characters like åäö works everywhere else but not in the terminal where it shows up as missing glyphs in st and not at all in the xfce terminal.

Last edited by Sbloge (2021-01-20 09:11:29)

Offline

#2 2021-01-20 09:52:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,237

Re: Some Characters like öäå and \ not working in terminal.

And which fonts are you using in your terminals? This is unlikely to have any relation to your locale.

Offline

#3 2021-01-20 10:18:35

Sbloge
Member
Registered: 2021-01-20
Posts: 3

Re: Some Characters like öäå and \ not working in terminal.

V1del wrote:

And which fonts are you using in your terminals? This is unlikely to have any relation to your locale.

st and xfce uses Monospace Regular from what i understand. I tried using kitty where the characters work but i don't know what font that uses.

Offline

#4 2021-01-20 10:26:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,237

Re: Some Characters like öäå and \ not working in terminal.

Monospace isn't a font but a specific type of font that can be fulfilled by many fonts, what does it match against?

fc-match 'monospace'

install and set up a font that contains the characters you want to use: 

https://wiki.archlinux.org/index.php/Fonts#Latin_script
https://wiki.archlinux.org/index.php/Fo … font_order

Last edited by V1del (2021-01-20 10:26:29)

Offline

#5 2021-01-20 10:39:03

Sbloge
Member
Registered: 2021-01-20
Posts: 3

Re: Some Characters like öäå and \ not working in terminal.

V1del wrote:

Monospace isn't a font but a specific type of font that can be fulfilled by many fonts, what does it match against?

fc-match 'monospace'

install and set up a font that contains the characters you want to use: 

https://wiki.archlinux.org/index.php/Fonts#Latin_script
https://wiki.archlinux.org/index.php/Fo … font_order

fc-match 'monospace' gives

 DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" 

but that font supports all those characters no? What font should i use instead?

Offline

#6 2021-01-20 12:54:32

seth
Member
Registered: 2012-09-03
Posts: 18,969

Re: Some Characters like öäå and \ not working in terminal.

from what i understand

Please post a (link to a) screenshot of the issue and the output of

strace st 2>&1 | grep -i font

Offline

Board footer

Powered by FluxBB