- setlocale didn't always try UTF-8, and on systems that only had UTF-8 encoding of the selected locale, this would fail to change locale Fixes #872
- setlocale didn't always try UTF-8, and on systems that only had UTF-8 encoding of the selected locale, this would fail to change locale Fixes #872