I am using DJango CSV module and doing writerrow() on some text data
generated through tinyce text editor.

I am getting  following error

ascii' codec can't encode character u'\\u2019' in position 337:
ordinal not in range(128)

 for some reason it cannot handle the single quote in text. How do I
fix it.

My code:

import csv
writer = csv.writer(response)
writer.writerow(["Description:  " + description])

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to