Got it. It was because I was using a third party JSON library instead of from django.utils import simplejson
On Mar 10, 2:29 am, Bemmu <[email protected]> wrote: > I have a MySpace REST url, for which I am getting the contents. I > think that content is UTF-8 encoded, although I'm not totally sure. > > response = urlfetch.fetch(url) > > If I then do json.read(response), I get the following: > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position > 0: ordinal not in range(128) > > What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
