Unnecessary behavioural dependence on $LANG
CasperVector opened this issue ยท 2 comments
CasperVector commented
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/
.
CasperVector commented
FYI, using editline can save this hassle.
CasperVector commented
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.