change to utf8
add generator.py