fix unicode error in textutil