add kanji encoding support
restore TeX2img.txt