Skip to content

Error exporting to Excel / CSV in 4.1.1 [UTF-8] #31246

Answered by ampil
ampil asked this question in Q&A / Help
Discussion options

You must be logged in to vote

To fix it I had to update the file from the error message: /usr/lib64/python3.9/http/server.py
at line 514 change:

("%s: %s\r\n" % (keyword, value)).encode('latin-1', 'strict'))

to

("%s: %s\r\n" % (keyword, value)).encode('utf-8', 'strict'))

in other words, change latin-1 to utf-8.

Problem solved, export to Excel or CSV works.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ampil
Comment options

@ampil
Comment options

@dosubot
Comment options

@ampil
Comment options

Answer selected by ampil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant