ensure utf-8 word characters are escaped