[Catalyst] Wide (Unicode) character problem?

Bill Moseley moseley at hank.org
Wed Mar 23 18:00:30 GMT 2011


On Wed, Mar 23, 2011 at 7:49 AM, John M. Dlugosz <wxju46gefd at snkmail.com>wr=
ote:

> OK, I verified that it still chokes if I strip it down to the bare
> essentials.
> If the view produces a stream that includes a wide character, I get the
> exception.
>
> Here is my Controller:
> =3D=3D=3D=3D
> package LEDft::Controller::Root;
> use Moose;
> use namespace::autoclean;
> use Mail::Builder::Simple;
>
> use Try::Tiny;
>
> BEGIN { extends 'Catalyst::Controller::HTML::FormFu' }
>

Mail::Builder::Simple, Try::Tiny, and FormFu is not needed for this example.

If left out your app's configuration and showing what plugins you are using.
 That's the key bit information.  Best if you post a really complete
example.

Here's some hints: try using Google.  Search for the error you are seeing,
and maybe add in the word "Catalyst".  For example these keywords:

Caught exception in engine "Wide character in syswrite" catalyst


The first few posts you will find recommendations to add:
"Unicode::Encoding" to your plugin list.




-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110323/ecc0d=
1f0/attachment.htm


More information about the Catalyst mailing list