fix(controller): allow unicode in config:set and app logging

Fixes #1760.