Fixed a kanji encoding bug