fix #912 Freemarker uses platform default encoding