Then you are double encoding it somewhere in *your* code which you've not shown here, Mojo::JSON generates valid UTF-8 encoded JSON which needs to be treated as binary data by you.
--
Sebastian Riedel
http://labs.kraih.com
http://mojolicious.org
http://twitter.com/kraih
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
There were no changes as far as i can see, could you please write a full unit test if you're sure that there's a bug?
Thats your problem, let me quote from the render_text documentation.
"Render the givent content as plain text, note that text will be encoded."
What you really want is render_data.
"Render binary data, similar to C<render_text> but data will not be encoded."
It's the old Perl chars vs bytes problem.