Re: [htmltmpl] Escaping unicode

2009-11-17 Thread Tobias Nissen
Thank you both for your answers! Michael Peters wrote: > On 11/13/2009 08:26 AM, Tobias Nissen wrote: >> For the data to be escaped before feeding it to H::T, I'd have to >> add a lot of code, therefore I'd like to avoid this approach. Is >> there any way I can tell H::T to escape Unicode data I f

Re: [htmltmpl] Escaping unicode

2009-11-14 Thread Dawid Joubert
ber 13, 2009 2:13 PM Subject: Re: [htmltmpl] Escaping unicode > On 11/13/2009 08:26 AM, Tobias Nissen wrote: > >> For the data to be escaped before feeding it to H::T, I'd have to add >> a lot of code, therefore I'd like to avoid this approach. Is there any >> w

Re: [htmltmpl] Escaping unicode

2009-11-13 Thread Michael Peters
On 11/13/2009 08:26 AM, Tobias Nissen wrote: > For the data to be escaped before feeding it to H::T, I'd have to add > a lot of code, therefore I'd like to avoid this approach. Is there any > way I can tell H::T to escape Unicode data I feed to it with param()? You could create a function if you

[htmltmpl] Escaping unicode

2009-11-13 Thread Tobias Nissen
Hi! I'm using HTML::Template to generate RTF-documents which works pretty good with plain ASCII. But since with RTF Unicode characters have to be escaped (like \u0123, Unicode::Escape exists for this), I have to either escape it before I feed it to HTML::Template or I have to convince H::T to esca