deal with chinese encoding garbled