Problem with Unicode character in calling Api insertRecords

Problem with Unicode character in calling Api insertRecords

Hi, i had a problem to calling the Api insertRecord with my Django python program
i try to explain :

when i call the api with an xml like have some Russian characther or i have some special characther like : ééàòù etc... (like this : xmlData+='<FL val="Send To">' + russiancharachter + '</FL>'






calling your api it say me i can't pass ascii parameter, why? how can i call api with unicode Ut-8 data withouth that error?


Thanks, this is the example of my code :

    authtoken = settings.ZOHO_AUTHTOKEN
    params = {'newFormat':'1','authtoken':authtoken,'scope':'crmapi', 'duplicateCheck':'2', 'xmlData':xmlData}
    final_URL = settings.INSERT_URL

    data = urllib.urlencode(params)
    request = urllib2.Request(final_URL,data)
    response = urllib2.urlopen(request)
    xml_response = response.read()












if i use normal character all is ok