removing special chars for utf8 encoding