[Catalyst] Help needed with Unicode

Renaud Drousies renaud at linuxaddicts.com
Tue Mar 20 18:12:41 GMT 2007


> Am Dienstag 20 März 2007 17:07 schrieb Renaud Drousies:
>> > (The formdata is submitted through ajax/xmlhttprequest, is that a
>> > possible source for that problem?)
>>
>> That was for me.
>>
>> Which request headers are you sending when doing the ajax call?
>> If you are not doing so yet, try using
>> "application/x-www-form-urlencoded;
>> charset=UTF-8".
>
> Firebug says:
>
> -- request header --
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Content-Type: application/x-www-form-urlencoded
>
> -- response header --
> Content-Type: text/html; charset=utf-8
> X-Catalyst: 5.7006
>
> For me that looks ok.
> Or do I need a charset=utf-8 in the _header_?
>

I'd still explicitely set the request character set. If you don't do so,
it will be handled with the default character set of your server. (correct
me if i'm wrong)

Regards,
Renaud




More information about the Catalyst mailing list