Sorry, but it seems KOI8-R doesn't work properly in 4.1.
-asis set
LANG=ru_RU.koi8r
LC_ALL=ru_RU.koi8r
program shows "?" instead of russian chars. Text saved in the file contains "?" also.
Excuse me please if I'm wrong.
Thanks for your brilliant job.
Can you try "LC_ALL=ru_RU.KOI8-R joe"?
I think the problem is that it's not ignoring case.
Also I fixed in the latest mercurial. The fix only works for the case where there is no system setlocale with nl_langinfo(CODESET).
Last edit: Joe Allen 2016-02-15