add config files and fix chinese encoding problem