Hey,
I want a download button where I open a spreadsheet, edit the content and convert it to a pdf.
The code I use within the download function is:
with open(template_path, 'rb') as template:
filled_spreadsheet = render_spreadsheet(template, cells)
pdf = vkt.convert_excel_to_pdf(filled_spreadsheet)
I get the following error message:
UnicodeEncodeError: 'charmap' codec can't encode character '\ufffd' in position 10: character maps to <undefined>
How do I solve the problem?