main: use utf8 instead of ascii, allow scripts to optionally not sanitize message