ignore non-ascii characters in template names