gen_string.py: use utf-8 encoding
typo: s/DAILY/DELAY/