[Catalyst] Strange UTF16 warning

2008-05-07 Thread Martin Ellison
I've got the same problem for the same reason (trying to return a JPEG). Presumably something thinks that it is getting text (Unicode) and picks up some special characters. Is there some equivalent of binmode for body? -- Regards, Martin ([EMAIL PROTECTED]) IT: http://methodsupport.com Personal:

Re: [Catalyst] Strange UTF16 warning

2008-05-07 Thread Martin Ellison
Sorry, my mailer did not quote the original post from Tue, 30 Oct 2007 17:10:07 -0800 I'm seeing warnings of the type UTF-16 surrogate 0xABCD in my logs that I'm not quite sure how to explain. I am familiar with the nature of the warning message, and I've tracked it to Catalyst::Engine-write --