[Catalyst] utf8 on c->res-write or c->res->print

Sergey Dmitriev sergey.programmer at gmail.com
Thu Feb 20 13:45:46 GMT 2014


I'm trying to put some utf8 strings as a part of Catalyst response as

$c->res->print ( ... )
$c->res->write( ... )

line by line.

However it dies with

   Wide character in syswrite at ..... IO/Handle.pm line 474

Any ideas how can utf8 be written to response?

E.g. set binmode on output handle. Cannot find how.
Using Catalyst Runtime 5.90042.


HtH, Sergey Dmitriev
*"All that is necessary for evil to triumph is for good men to do nothing".
-- Edmund Burke*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20140220/6cb7f516/attachment.htm>

More information about the Catalyst mailing list