[Templates] INSERT and encoding

Bill Moseley moseley at hank.org
Sun Oct 7 21:27:40 BST 2007


Came up on the Catalyst list.  Doesn't seem like INSERT decodes
content.

What do people think?  Should INSERT also call _decode_unicode() and
test BOM and ENCODING?  Could there be a case where one might not want
INSERT to decode?

What about decode filter approach instead?

    [% INSERT foo.txt | decode_utf8 %]



-- 
Bill Moseley
moseley at hank.org




More information about the templates mailing list