Moodle.2x mod/hotpot use textlib to convert input file content to utf-8, instead of explicitly called iconv or mb_convert_encoding