fix chinese encoding problems.