[jifty-devel] Re: [bug] next_page method and templates in utf8 encoding

Jesse Vincent jesse at bestpractical.com
Sun Dec 10 17:08:17 EST 2006


On Dec 9, 2006, at 2:36 AM, Agent Zhang wrote:

> On 11/27/06, Agent Zhang <agentzh at gmail.com> wrote:
>> Hi, all~
>>
>> Jifty->web->form->next_page( url => '/some_url' ) seems to lead me to
>> bad encoding problems when the some_url template is in UTF-8. I've
>> checked in a minimal Jifty app to demonstrate this Jifty bug.
>>
>> This app is located at http://svn.berlios.de/svnroot/repos/unisimu/ 
>> tmp/JiftyBug/
>>
>
> Audrey's r2352 has fixed the non-ascii encoding problem in form  
> inputs:
>
>  http://svn.jifty.org/index.cgi/jifty/revision?rev=2352
>
> audreyt++ audreyt++ audreyt++
>
> However, the UTF-8 literals in the Mason template are still malformed.
> Maybe it's a problem on the Mason side? Not sure though. Suggestions
> welcome!

Hm. That's been working in the past. Turn off devel mode and have a  
look at a cached template file and see if it has 'use utf8' in it.

-j
> Thanks!
> Agent
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>



More information about the jifty-devel mailing list