fix chinese garbled
enforce utf-8 and optimize