strong testing for config:set calls

Looks like this takes its cue from +pc which defaults to latin1. Hopefully if that ever switches to utf8 it's not a problem?