Closed CasperVector closed 4 years ago
FYI, using editline can save this hassle.
Actually, editline does not quite care about Unicode. I was in a hurry; sorry for that. But since this seems better discussed in #49, perhaps it is better to keep this issue closed.
When invoking rc with
env -i rc
, and we input🍑
, there is no visual feedback, and the character is discarded. When invoking rc withenv -i LANG=en_US.UTF-8 rc
, and we do the same, the character is correctly handled. The rc executable is statically linked using musl, and strace showed it did not attempt to access locations like/usr/share/locale/
.