[Catalyst] utf-8 (again) -- test server works perfectly, apache flubs it

Marcus Ramberg marcus.ramberg at gmail.com
Sun Jul 30 21:21:35 CEST 2006


hi apv. Would you happen to use the TT html_entity filter? If so, don't. It
uses a library that does not grok unicode under apache. Very funny bug to
track down. (took me like 6 months :p)

Marcus

On 7/30/06, apv <apv at sedition.com> wrote:
>
> My new Catalyst project's utf-8 is working perfectly on the test
> server; plain displays or via form submission. DBIC underneath mysql
> with utf8_columns and everything set up; I wrote a modified test of
> the one in the DBIC suite and it's passing for the correct columns on
> the correct table.
>
> Plugin::Unicode loaded. Catalyst::View::TT::ForceUTF8 as the "base"
> view or not (and I certainly prefer not because it breaks if your
> TAGS aren't the default [% %]).
>
> The apache driven one is replacing (in most browsers) utf-8 with lots
> of "?"s. I've got another app that does utf-8 fine via apache.
>
> Why in the world is the test server working right but the apache (2)
> driven server working wrong for exactly the same code and config
> file, etc?
>
> Where should I start looking? If it's a permissions issue (test runs
> as me but apache runs as nobody), how...?
>
> Any ideas would be considered manna in the desert.
>
> The only clue I've got is that the config file has utf-8 which is
> behaving properly in both; using YAML::Syck with:
> $YAML::Syck::ImplicitUnicode = 1;
>
> –Ashley
> --
> ("utf8" for google)
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
With regards
Marcus Ramberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060730/d71ceeef/attachment.htm 


More information about the Catalyst mailing list