The ENCODING option specifies the template files' character encoding: my $template = Template->new({ ENCODING => 'utf8', }); A template which starts with a Unicode byte order mark (BOM) will have its encoding detected automatically. The START_TAG and END_TAG options are used to specify character sequences or regular expressions that mark the start and end of inline template directives. The default