[Catalyst] Re: UTF-16 surrogate message when writing binary data
(image)
Aristotle Pagaltzis
pagaltzis at gmx.de
Fri May 9 13:51:42 BST 2008
* Martin Ellison <m.e at acm.org> [2008-05-09 14:46]:
> My code looks like
>
> $c->res->content_type(q{image/jpeg});
> $c->res->header( 'Content-Disposition', q{inline} );
> $c->res->body($pic_image);
Is `$pic_image` marked as a character string? Are you using
Catalyst::Plugin::Unicode?
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Catalyst
mailing list