fix chinese charset bug