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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 

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.



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to