replaced utf_encoding with mb_convert