Ticket #2386: interpretation of LANG variable needs to be case insensitive.