mc/lib/strutil
Andrew Borodin d474cad4e3 Ticket #2386: interpretation of LANG variable needs to be case insensitive.
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>
2012-03-28 13:10:37 +04:00
..
Makefile.am Ticket #1994: Sort files by version (like strverscmp(3) does) 2010-02-22 11:08:37 +02:00
strescape.c (strutils_unescape): allow disable shell variable substitution. 2012-03-12 14:11:05 +03:00
strutil8bit.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
strutil.c Ticket #2386: interpretation of LANG variable needs to be case insensitive. 2012-03-28 13:10:37 +04:00
strutilascii.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
strutilutf8.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
strverscmp.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00