fix the utf8 problem

I hope this fix all problems with utf8.