Alex Gaynor be688c3156 Encode unicode from JSON before using it as a string.
Right now this code fails when used with a JSON
decoder that always produces unicode. This isn't
usually the case with CPython, where simplejson
is used most of the time, however with the stdlib
JSON library (as used on PyPy), this code fails.

Change-Id: Ib2343243f40194d5b2784551a807c7f58970a6e9
2013-07-29 14:56:50 -07:00
..
2013-07-25 22:03:33 +00:00
2013-06-25 23:00:31 -07:00