On Sat, Jul 07, 2007 at 03:41:13AM +0800, Gea-Suan Lin wrote:
> Hello,
>
> In Template/Filters.pm, function uri_filter:
>
> if ($] >= 5.008) {
> utf8::encode($text);
> }
>
> If $text is already UTF-8 string (utf8::is_utf8($text) is true), then
> this will break $text.
Why does the text need to be encoded to utf8 in the first place?
--
Bill Moseley
[EMAIL PROTECTED]
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates