You are not logged in.

#1 2021-10-21 16:05:17

mads1101
Member
Registered: 2021-09-29
Posts: 11

Some unicode characters are not displaying correctly on terminal

Some of the unicode characters are not displaying in the terminal basically on neovim and I also encountered these types of errors in notification area even sometime in the browsers some characters are not loading.

Sample picture

Then, I tried this command 

 FC_DEBUG=4 pango-view --font="sans" -t ? | grep family: 

After executing this command, a pop-up window of question mark appeared Another sample picture

what do I do to fix this issue??

I use **sans regular** as my default font and for the terminal I use ** Dejavu sans mono**.

Offline

#2 2021-10-21 16:16:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,443

Re: Some unicode characters are not displaying correctly on terminal

That looks more like a locale issue,

localectl
locale
locale -a

What's the utf-8 codepoint you're trying to display?

If you issued the literal "?" the pango-view result isn't surprising, that's supposed to be a non-functional utf-8 glyph (but the forum BBS sometimes eats them and replaces them w/ a question mark)

Offline

#3 2021-10-22 05:52:31

mads1101
Member
Registered: 2021-09-29
Posts: 11

Re: Some unicode characters are not displaying correctly on terminal

I tried above mentioned command these are the results

for

locale -a

C
POSIX
en_US.utf8

for

localectl

System Locale: LANG=C
VC Keymap: n/a
X11 Layout: n/a

for

locale

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

Offline

#4 2021-10-22 06:20:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,443

Re: Some unicode characters are not displaying correctly on terminal

Offline

Board footer

Powered by FluxBB