Correctly handle unicode in config wizard

Fixes #634