Re: [htmltmpl] HTML::Template support for Unicode

2007-07-22 Thread Erik van Konijnenburg
On Sat, 2007-07-21 at 18:15 +0200, Sven Neuhaus wrote: > Erik van Konijnenburg schrieb: > > On Fri, 2007-07-20 at 09:58 +0200, Sven Neuhaus wrote: > >> Erik van Konijnenburg schrieb: > >>> This is to propose for inclusion in HTML::Template a patch that > >>> adds unicode support. > >>> If the templ

Re: [htmltmpl] HTML::Template support for Unicode

2007-07-21 Thread Sven Neuhaus
Erik van Konijnenburg schrieb: > On Fri, 2007-07-20 at 09:58 +0200, Sven Neuhaus wrote: >> Erik van Konijnenburg schrieb: >>> This is to propose for inclusion in HTML::Template a patch that >>> adds unicode support. >>> If the template file happens to contain Unicode already, this breaks: >>> the b

Re: [htmltmpl] HTML::Template support for Unicode

2007-07-20 Thread Erik van Konijnenburg
On Fri, 2007-07-20 at 09:58 +0200, Sven Neuhaus wrote: > Erik van Konijnenburg schrieb: > > This is to propose for inclusion in HTML::Template a patch that > > adds unicode support. > > > If the template file happens to contain Unicode already, this breaks: > > the bytes making up an UTF-8 charact

Re: [htmltmpl] HTML::Template support for Unicode

2007-07-20 Thread Sven Neuhaus
Erik van Konijnenburg schrieb: > This is to propose for inclusion in HTML::Template a patch that > adds unicode support. > If the template file happens to contain Unicode already, this breaks: > the bytes making up an UTF-8 character are fed to the Latin => unicode > transformation, and you end up

[htmltmpl] HTML::Template support for Unicode

2007-07-19 Thread Erik van Konijnenburg
This is to propose for inclusion in HTML::Template a patch that adds unicode support. The 2.8 release of Html::Template opens templates as raw files. That means every byte is interpreted as an individual character. If a parameter contains wide characters (katakana, or accented latin characters fo