[Catalyst] Encoding UTF8 ?

Bill Moseley moseley at hank.org
Mon Mar 28 20:16:58 GMT 2011

On Mon, Mar 28, 2011 at 1:04 PM, John M. Dlugosz <wxju46gefd at snkmail.com>wr=

> On 3/28/2011 2:51 PM, Andrew Rodland andrew-at-cleverdomain.org|Catalyst/=
Allow to home| wrote:
>> What engine error you noticed before? You broke threading.
>>  "Caught exception in engine "Wide character in syswrite at
> /usr/share/perl5/Catalyst/Engine.pm line 675"

Yes, that would be related to not encoding with the plugin.  You need the
plugin to encode output so you don't that that message.

John, you are better off ignoring that Perl is using UTF-8 internally. All
byte data that represents characters must be decoded on input -- and
likewise all characters in Perl must be encoded before writing.

I know I discussed this before, but is there a plan to make decoding and
encoding part of Catalyst core?  Seems to trip people up and it seems like
something that should always be done.

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110328/2161c=

More information about the Catalyst mailing list