修理了encoding bug