[Catalyst] IO::Handle Wide character in syswrite

Bernard FRIT bernard.frit at gmail.com
Tue Sep 27 09:55:09 CEST 2005


2005/9/26, Matthew Lawrence <matthew.lawrence at ehsbrann.com>:
>
> Bernard FRIT wrote:
> > Hi everybody,
> >
> > [ ... ]
> >
> > Wide character in syswrite at
> > /usr/lib/perl5/5.8.7/i686-linux/IO/Handle.pm line 449.
> >
>
> You normally see that message when you're writing unicode data to a
> handle that isn't set up to receive it.
>
> You'll probably need to specify the ":utf8" layer on the handle concerned.
>
> This problem ony appears when using Locale::Currency::Format to display
correct EURO formatting within pages. As I'm currently connecting to an
existing mysql database I only found one way to display columns with
accented chars : removing charset information from http headers

$c->res->content_encoding('');

Does it make sense with the IO::Handle problem ?
--
Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050927/f8286970/attachment.htm


More information about the Catalyst mailing list