Re: [htmltmpl] How to handle UTF-8?

2007-03-21 Thread Sam Tregar
On Wed, 21 Mar 2007, Mathew Robertson wrote: As an aside, there are a number of different techniques used to get the UTF8 strings into the templates, eg: TMPL_VAR's, hacks to H::T, using H::T::E with a callback. Why would you need a hack to get UTF8 strings into the templates? Is there a bug

Re: [htmltmpl] How to handle UTF-8?

2007-03-20 Thread Mathew Robertson
I worked on a product which was translated into 6 languages; we supplied templates in ASCII and used TMPL_VAR's to output the appropriate UTF8-encoded string. ie: there are no real problems if your templates are just layouts and the content is provided by TMPL_VAR's. As an aside, there are

[htmltmpl] How to handle UTF-8?

2007-03-19 Thread H. Tan-Tenn
Having read how to use UTF8?: http://www.arcknowledge.com/gmane.comp.lang.perl.modules.html-template/2004-07/msg8.html the reformist templates in UTF-8 (and generic support for PerlIO layers): http://www.arcknowledge.com/gmane.comp.lang.perl.modules.html-template/2003-06/msg00011.html and