a bug still in gen_dic, that is cored after iconv failed