mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
91ff90f87b
On Mac OS X, in the iTerm2, when the LANG variable is set to en_US.utf-8 mcedit specifically does not correctly accept input (every character press is interpreted as a '.'). However when LANG is set to en_US.UTF-8 mcedit works correctly (see also http://code.google.com/p/iterm2/issues/detail?id=204). On Linux, nl_langinfo(CODESET) returns upper case UTF-8 whether the LANG is set to utf-8 or UTF-8. On Mac OS X, it returns the same case as the LANG input. So let tranform result of nl_langinfo(CODESET) to upper case unconditionally. Signed-off-by: Andrew Borodin <aborodin@vmail.ru> |
||
---|---|---|
.. | ||
Makefile.am | ||
strescape.c | ||
strutil8bit.c | ||
strutil.c | ||
strutilascii.c | ||
strutilutf8.c | ||
strverscmp.c |