[Catalyst-dev] A try to patch Catalyst::Engine.pm
Jonathan Rockway
jon at jrock.us
Tue Jul 29 15:29:29 BST 2008
* On Mon, Jul 28 2008, Chae Lee wrote:
> hi,
>
> in version 5.7014, I changed a few lines of Engine.pm as below. Engine_1.pm is
> the original and Engine.pm is the modified.
>
> I did because of the warning "wide char..." when using test http server(in
> Catalyst dist); some are in byte string and others are in character string for
> output in my website.
Why are wide characters in the output buffer? The network cannot
transfer Perl wide characters; you need to convert them to bytes with
Encode::encode first. ("use bytes" is not acceptable.)
Catalyst::Plugin::Unicode automates this. Are you using that?
Regards,
Jonathan Rockway
--
print just => another => perl => hacker => if $,=$"
More information about the Catalyst-dev
mailing list