Adding an utf8 check on all input types.