Fixed unicode encoding bug