On Tue, Jun 10, 2008 at 09:12:57AM +0100, Andy Wardley wrote:
> Morning All,
Morning Andy!
Did the ENCODING provider option ever get documented?
return $self->{ ENCODING }
? Encode::decode( $self->{ ENCODING }, $string )
: $string;
Something like:
=item ENCODING
If set, templates read from a file handle or filename are decoded
using the encoding specified unless a BOM is found on the template.
If a BOM is found and the encoding can be determined that encoding is
used.
Since templates are always encoded, you should always specify
ENCODING to decode into Perl's internal form.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates