fix chinese encoding issues