[kb] Encoding bug fixed