Ensure POSIX and C locales are regarded as identical.
Also remove some debugging code.