Correctly set locale to UTF-8.