rakitzis/rc

Unnecessary behavioural dependence on $LANG

CasperVector opened this issue ยท 2 comments

When invoking rc with env -i rc, and we input ๐Ÿ‘, there is no visual feedback, and the character is discarded.
When invoking rc with env -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/.

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.