On Tue, 25 Mar 2008 16:04:55 +0100
Clinton Gormley <[EMAIL PROTECTED] > wrote:
> You're not specifying UTF8 anywhere:
>
> > $template->process('utf-example.tmpl', $vars)
> > || die "Template process failed: ", $template->error(), "\n";
>
> >From the docs:
>
> Alternately, the binmode argument can specify a particular IO layer
> such as ":utf8".
>
> $tt->process($infile, $vars, $outfile, binmode => ':utf8')
> || die $tt->error(), "\n";
This does not work for me for some reason... (I've installed last
release of Template from CPAN, and it did not change anything)
But it is not very important, the other solutions will do.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates