fix core dump bug! in utf8ToUnicode()