mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
d474cad4e3
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 |