Commits

pjs  committed 28b793b

[svn r42] ADded utf-8 encoding of data

  • Participants
  • Parent commits d8ce271
  • Branches trunk

Comments (0)

Files changed (1)

         return self.send_request(params)
 
     def send_request(self, request):
+        for key, value in request.items():
+            try:
+                request[key] = value.encode('utf-8')
+            except AttributeError:
+                pass
+
         params = urllib.urlencode(request)
         if self.debug:
             print 'DEBUG: ', params