Fix localization issue

Some encodings prevent this from actually working unless the default
encoding is suggested.