fix Chinese character truncated bug