cli: handle utf8 in character overrides