[Templates] [PATCH] add encoding option to ttree

Éric Cholet cholet at logilune.com
Sun Aug 10 23:14:56 BST 2008


--- ttree.orig  2008-08-06 10:31:06.000000000 +0200
+++ ttree       2008-08-11 00:07:22.000000000 +0200
@@ -532,6 +532,7 @@
          'depend_file|depfile=s' => { EXPAND => EXPAND_ALL },
          'template_module|module=s',
          'template_anycase|anycase',
+        'template_encoding|encoding=s',
          'template_eval_perl|eval_perl',
          'template_load_perl|load_perl',
          'template_interpolate|interpolate',
@@ -706,6 +707,7 @@

  File encoding options
     --binmode=value          Set binary mode of output files
+   --encoding=value         Set encoding of input files

  Additional options to set Template Toolkit configuration items:
     --define var=value       Define template variable

--
Éric Cholet







More information about the templates mailing list