[Templates] Wide character in print at /usr/lib/perl5/Template.pm line 168
mark addison
mark.addison at itn.co.uk
Thu Nov 15 14:13:43 GMT 2007
Nigel Metheringham wrote:
> 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.
>
That is a good way, you just forgot diff against original version and
post patch to list ;-)
mark
--
MARK ADDISON
WEB DEVELOPER
200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4678
F
E Mark.Addison at itn.co.uk
WWW.ITN.CO.UK
P Please consider the environment. Do you really need to print this email?
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster at itn.co.uk
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.
More information about the templates
mailing list