Ok. I have verified it's the encoding function's problem, or at least
the encoding problem is in the server, not JQuery or JS.

I dumped the $output just before returning and the output is all
scrambled. My shell and complete locale in Debian is UTF-8 so the
problem seems effectively to be the encode_json function.

On Mon, Sep 28, 2009 at 11:58 AM, Tomas Doran <[email protected]> wrote:
> Alejandro Imass wrote:
>>
>> Well, that's it for now, but I can verify that by using to_json it
>> actually solves my encoding problems.
>
> Well, I have this working fine for me in my environment, but I'm prepared to
> believe it may not work for you, as we do fairly wacky things with uft8 (for
> hysterical raisins)..
>
> Could you supply a short test to demonstrate feeding some utf8 data in and
> it being double encoded when serialized?
>
> Cheers
> t0m
>
>

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to