actual data:CN=username,OU=CompanyName,DC=company,DC=intra(how it seems in MySQL db) and when I fetch this data, this is how it seems in python variable(retrieved from MySQL): CN=username,OU=CompanyName,DC=company,DC=intra
when I try this;
truestr = unicode(str,'utf-8');
throws exception with this message:
'ascii' codec can't decode byte 0xc4 in position 4: ordinal not in range(128)
How can I fix this issue ? (I use python 2.6)
strvariable? Please update your question.str. Use the edit link.