Adds UTF-8 validation