use utf8 when opening template