[Catalyst] mod_perl converts latin1 to utf8 !?

Dami Laurent (PJ) laurent.dami at justice.ge.ch
Mon Dec 22 08:22:59 GMT 2008


>-----Message d'origine-----
>De : Bjørn-Helge Mevik [mailto:bhx6 at mevik.net] 
>Envoyé : dimanche, 21. décembre 2008 23:52
>À : catalyst at lists.scsys.co.uk
>Objet : [Catalyst] mod_perl converts latin1 to utf8 !?

>Thus it would seem that mod_perl converts latin1 to utf8 when sending
>to the browser, but not back again when receiving forms.

Mod_perl probably does nothing to your encoding, but Apache might interfere.

a) did you configure your Apache as follows ?

   AddDefaultCharset iso-8859-1

b) try to look a the HTTP traffic (using Firebug or Fiddler2), to see if there are some other charset=... headers generated by some component in your chain. 

c) try some static latin1 pages in Apache htdocs to see if they are rendered correctly.

Hope this helps,

Good luck, Laurent Dami

More information about the Catalyst mailing list