Fixed another encoding bug.