Report errors when setlocale() fails