Problems with encoding in utf-8

Hello,
I tried to make a form and to save answers in a csv file, but when writing in the csv file the error " UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe9’ in position 9: ordinal not in range(128)"
I don’t understand because i put “<form accept-charset="UTF-8">” and i opened the file with “`with codecs.open(“reservation.csv”, “a”, encoding=“utf-8”)”
What can I do ?

Hi, @LabarreX! Welcome to the Glitch community!

Maybe try taking a look at this StackOverflow post.

Also, could you provide a link to your project? It makes it easier to debug.

Thanks!