Re: [Catalyst] tips for troubleshooting/QAing Unicode (was Re: Passing UTF-8 arg in URL to DBIC search)

2008-09-28 Thread J. Shirley
On Sat, Sep 27, 2008 at 3:39 PM, Darren Duncan [EMAIL PROTECTED] wrote: Maybe you're already aware of this, but I've found from experience that troubleshooting encoding/Unicode problems in a web/db app can be difficult, especially with multiple conversions at different stages, but I've come up

[Catalyst] DBIx::Class and Catalyst - Trying to make sense of it all.

2008-09-28 Thread Leanan Sidhe
First, I apologize for the completely noob tone of this email. I've read through the perl docs for DBIx::Class, and various Catalyst parts, but I'm having problems understanding how DBIx::Class stuff is slightly different in Catalyst. For example, in the DBI docs, I constantly see the following:

Re: [Catalyst] minor typo in Catalyst::Authentication::Store::DBIx::Class::User

2008-09-28 Thread John Romkey
On Sep 28, 2008, at 9:43 AM, Matt S Trout wrote: On Fri, Sep 26, 2008 at 11:17:05AM -0400, John Romkey wrote: In 0.106, line 89 calls Catalyst::Exeption-throw should be Catalyst::Exception-throw I can't find anything remotely like this in svn to apply to - what path and revision did you

Re: [Catalyst] How to send raw HTTP response

2008-09-28 Thread Tomas Doran
On 27 Sep 2008, at 19:48, Matt S Trout wrote: Just call $c-write($chunk) with each chunk of data as you get it. Catalyst will automatically send headers before the first chunk for you. Do -not- rely on STDOUT being an appropriate filehandle to print to, that's an accident of the engine

[Catalyst] Re: How to send raw HTTP response

2008-09-28 Thread Dagfinn Ilmari Mannsåker
Tomas Doran [EMAIL PROTECTED] writes: On 27 Sep 2008, at 19:48, Matt S Trout wrote: Just call $c-write($chunk) with each chunk of data as you get it. Catalyst will automatically send headers before the first chunk for you. Do -not- rely on STDOUT being an appropriate filehandle to print

Re: [Catalyst] tips for troubleshooting/QAing Unicode

2008-09-28 Thread Darren Duncan
J. Shirley wrote: Hey Darren, great post! Can you post it on the wiki, perhaps at: http://dev.catalystframework.org/wiki/faq link to Unicode Troubleshooting in the Unicode section there? It would be much appreciated. Thanks, -J I have gone and added a section to

Re: [Catalyst] tips for troubleshooting/QAing Unicode (was Re: Passing UTF-8 arg in URL to DBIC search)

2008-09-28 Thread Lee Aylward
On Sat, Sep 27, 2008 at 03:39:03PM -0700, Darren Duncan wrote: Maybe you're already aware of this, but I've found from experience that troubleshooting encoding/Unicode problems in a web/db app can be difficult, especially with multiple conversions at different stages, but I've come up with

Re: [Catalyst] tips for troubleshooting/QAing Unicode (was Re: Passing UTF-8 arg in URL to DBIC search)

2008-09-28 Thread Lee Aylward
On Sun, Sep 28, 2008 at 08:41:09PM -0500, Lee Aylward wrote: Great timing on this as I am currently struggling with some unicode text not displaying correctly in an application I am working on. Per your suggestion I put the Japanese text at the top of my template. All of a sudden the

Re: [Catalyst] tips for troubleshooting/QAing Unicode (was Re: Passing UTF-8 arg in URL to DBIC search)

2008-09-28 Thread Darren Duncan
Lee Aylward wrote: Great timing on this as I am currently struggling with some unicode text not displaying correctly in an application I am working on. Per your suggestion I put the Japanese text at the top of my template. All of a sudden the browsers started displaying that and other non-ascii