using sanitize() instead of replacetext() to remove ÿ

using sanitize() instead of replacetext() to remove ÿ