fix UTF-8 support for configuration (#172)