Fix #2386
Merge pull request #2386 from mdboom/fix-locale

locale breaks test suite