Open xronin01 opened 1 day ago
Could you please add more details. OS, TUI or GUI mode or how to reproduce, what font are you using?
What vtm release? (vtm -v
)
v0.9.99.35
I'm running on termux in TUI mode vtm -r term
To fix this, I need to somehow reproduce this behavior.
Vtm doesn't filter characters on its side. Characters can be outside the range of the Unicode standard range, the only thing is that the running apps output the text in UTF-8.
It seems to me that Termux doesn't include nerdfonts by default (maybe it does) https://www.reddit.com/r/termux/comments/14clllg/termuxnerdinstaller_tool/. Do you have these fonts installed?
I have this font installed https://github.com/slavfox/Cozette
https://github.com/user-attachments/assets/b54dfd15-1677-4da8-b1b2-6763a2b16db8
Alacritty on TermuxX11
It feels like something is wrong with the text encoding, with the code page.
Could it be that the code page (encoding) in your system is not UTF-8 (65001)?
sdn@meg:~$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
sdn@meg:~$
I see. Maybe vtm is using some mode that causes such incompatibility. I will investigate it.
Could you try to run the following:
LANG=en_US.UTF-8 vtm
and
printf "😉"
doesn't work
Could you just printf emoji in your shell?
printf "😉"
This is to make sure utf-8 works.
Thanks, vtm is indeed working in the wrong mode. I'll think about what can be done about it.