Add support for non-UTF-8 locales on MacOS X.
5 files changed