Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-15 Thread Tomas Doran
On 13 Jul 2009, at 15:33, Paul Makepeace wrote: Summary: this turns out to be an issue with Catalyst::Engine::HTTP's Remote handle not being set to UTF-8. Setting the remote handle to utf8 makes perl automagically encode everything from a utf8 character string into a byte string (for you).

Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-13 Thread Paul Makepeace
On Mon, Jul 13, 2009 at 9:33 AM, Paul Makepeace wrote: > Summary: this turns out to be an issue with Catalyst::Engine::HTTP's > Remote handle not being set to UTF-8. > > On Wed, Jul 8, 2009 at 4:29 PM, Tomas Doran wrote: >> >> On 8 Jul 2009, at 18:01, Paul Makepeace wrote: >> You know it's die

Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-13 Thread Paul Makepeace
Summary: this turns out to be an issue with Catalyst::Engine::HTTP's Remote handle not being set to UTF-8. On Wed, Jul 8, 2009 at 4:29 PM, Tomas Doran wrote: > > On 8 Jul 2009, at 18:01, Paul Makepeace wrote: > >>> You know it's dieing inside TT, right? So you can Data::Dumper the input >>> which

Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-08 Thread Tomas Doran
On 8 Jul 2009, at 18:01, Paul Makepeace wrote: You know it's dieing inside TT, right? So you can Data::Dumper the input which causes it to die to a file, write a program that instantiates View::TT, calls ->render with the same input (and template), and that should crap out in the same way?

Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-08 Thread Paul Makepeace
On Wed, Jul 8, 2009 at 11:40 AM, Tomas Doran wrote: > Paul Makepeace wrote: >> >> Something's definitely changed wrt to UTF-8 behavior since we did our >> big upgrade from Catalyst 5.7. Are there any 'known gotchas' I could >> check? >> >> At this point my debugging fu runs out--help appreciated on

Re: [Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-08 Thread Tomas Doran
Paul Makepeace wrote: Something's definitely changed wrt to UTF-8 behavior since we did our big upgrade from Catalyst 5.7. Are there any 'known gotchas' I could check? At this point my debugging fu runs out--help appreciated on where to look next. No gotchas that I can think of. Are you sure

[Catalyst] Catalyst crashing hard with UTF-8 string

2009-07-07 Thread Paul Makepeace
I'm uploading utf-8 news feed data through a web form, processing it and reporting back to the user errors that are encountered during a news feed parse. In those error reports I'm including snippets of the input data via TT, [% IF telluser.error %] [% FOREACH error_msg = telluser.error %