Every time I try to fetch a result using GAE urlfetch and one of the parameters have an non ASCII character I get an error
I want to fetch this url : http://ajax.googleapis.com/ajax/services/search/web?v=1.0&rsz=large&q=ação my problem is with the q parameter if I put other words as a query it will work but when I use 'non english' words I see this error : File "/base/python_lib/versions/1/google/appengine/api/ urlfetch_service_pb.py", line 1596, in OutputUnchecked out.putPrefixedString(self.url_) File "/base/python_lib/versions/1/google/net/proto/ ProtocolBuffer.py", line 365, in putPrefixedString v = str(v) UnicodeEncodeError: 'ascii' codec can't encode characters in position 96-99: ordinal not in range(128) Some Times if --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
