Do not make calls to setlocale() in a library. Use default user locale in tests and examples.