Check for the correct locale on Linux/UNIX.