[Catalyst] mod_perl2 vs. Catalyst server: utf problem
Alex Povolotsky
tarkhil at over.ru
Mon Mar 31 12:02:16 BST 2008
Jon wrote:
> On Sat, Mar 22, 2008 at 7:34 PM, Alex Povolotsky <tarkhil at over.ru
> <mailto:tarkhil at over.ru>> wrote:
>
> Hello!
>
>
> Hi
>
>
>
> I've debugged my app under Catalyst::HTTP server, it worked just fine
> with UTF-8.
>
> After deploying it under mod_perl, I've found garbled content, UTF-8
> strings are just different.
>
>
>
> Is all your data in the db utf8 if you're using a db that is?
Yes. Sure.
>
> Are all your templates utf8?
>
On moment of writing, they were plain ASCII
> Does your apache claim utf8 in the headers?
> Content-Type: text/html; charset=utf-8
>
Yes
> Does your templates contain meta tag for the browser?
> <meta http-equiv="Content-Type" content="text/html; using perl 5.8.8,
> apache 2.2.8, mod_perl2 2.0.3_3.
>
Will test.
Alex.
More information about the Catalyst
mailing list