You are not logged in.

#1 2021-08-28 05:06:49

archerK1ng
Member
Registered: 2021-08-28
Posts: 5

[SOLVED] Emoji rendering problem

Weird behavior in terminal after pasting emoji
https://imgur.com/a/U7nbFCg
Please help me fix this

Last edited by archerK1ng (2021-08-28 11:52:40)

Offline

#2 2021-08-28 05:58:22

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

Re: [SOLVED] Emoji rendering problem

They seem shifted back into the prompt?

locale; locale -a

Is this an alacritty exclusive issue?

Are other wide chars affected as well, eg. "λαμβδα"?

Offline

#3 2021-08-28 06:10:13

archerK1ng
Member
Registered: 2021-08-28
Posts: 5

Re: [SOLVED] Emoji rendering problem

seth wrote:

They seem shifted back into the prompt?

locale; locale -a

Is this an alacritty exclusive issue?

Are other wide chars affected as well, eg. "λαμβδα"?

No, it happened in every other terminal emulator I tried

Last edited by archerK1ng (2021-08-28 06:10:39)

Offline

#4 2021-08-28 07:36:40

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 170

Re: [SOLVED] Emoji rendering problem

Post the output of the command that Seth asked you:

locale
locale -a

Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#5 2021-08-28 11:29:47

archerK1ng
Member
Registered: 2021-08-28
Posts: 5

Re: [SOLVED] Emoji rendering problem

seth wrote:

They seem shifted back into the prompt?

locale; locale -a

Is this an alacritty exclusive issue?

Are other wide chars affected as well, eg. "λαμβδα"?

Other wide chars are affected as well

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=
C
POSIX
en_US.utf8

Offline

#6 2021-08-28 11:38:21

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

Re: [SOLVED] Emoji rendering problem

Fix your locale, https://wiki.archlinux.org/title/Locale
Alacritty should™ not even display utf-8 codepoints at all.

Offline

#7 2021-08-28 11:38:39

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Emoji rendering problem

Don't use LANG=C, go ahead and set LANG=en_US.UTF-8 in /etc/locale.conf

Uncomment en_US.UTF-8 line in locale.gen and run # locale-gen if you haven't already

(edit: lol)

Last edited by Ammako (2021-08-28 11:38:53)

Offline

#8 2021-08-28 11:50:11

archerK1ng
Member
Registered: 2021-08-28
Posts: 5

Re: [SOLVED] Emoji rendering problem

Thank you all so much
Working after I manually set the locale with localectl and rebooting

Offline

Board footer

Powered by FluxBB