re #766: urllib.urlencode() need str param not unicode

 so convert unicode to utf8 string