solve the chinese utf-8 encoding bug