Created
July 8, 2010 15:01
-
-
Save bigpresh/468114 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23:16 < merlyn> ugh - body must be bytes and should not contain wide characters (UTF-8 | |
strings). at | |
/usr/local/lib/perl5/site_perl/5.10.1/Plack/Middleware/StackTrace.pm | |
line 27 | |
23:16 < merlyn> why does plack care if I'm sending utf8? | |
23:17 < merlyn> looks related to this issue - | |
http://github.com/miyagawa/Plack/issues/issue/115 | |
23:20 < merlyn> might be a bug in Dancer then | |
23:20 < merlyn> it's passing the utf8 string to plack, instead of byte-ing it | |
23:21 < merlyn> this statement is triggering - if (ref $res->[2] eq 'ARRAY' && grep | |
utf8::is_utf8($_), @{$res->[2]}) { | |
23:22 < merlyn> yup - the call to render should byte it | |
23:22 < merlyn> whoever calls ->render | |
23:23 < merlyn> so that it's done once for all engines | |
23:23 < merlyn> where is ->render called from? | |
23:25 < merlyn> looks like Dancer::Renderer | |
23:30 < merlyn> crap. it's beginning to look more and more like Dancer isn't ready for | |
primetime | |
23:30 < merlyn> every time I try something, it breaks something else. | |
23:30 < merlyn> can't afford to be this bleeding edige | |
23:31 < merlyn> back to studying catalyst. :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment