[Templates] Wide character in print at /usr/lib/perl5/Template.pm line 168

Nigel Metheringham nigel.metheringham at dev.intechnology.co.uk
Wed Nov 14 17:57:15 GMT 2007


You can open the output file in utf8 mode - if you are getting TT to do
the open then you can add an option to process to do this:-

   $template->process($file, $replace, $destfile, {binmode => ':utf8'})

If there is a good way of handling this within ttree (other than copy
ttree and mod it to add the binmode option), then I would love to know
about it.

     Nigel.



More information about the templates mailing list