_filename = urllib.parse.quote(f"{filename}.xlsx")
response.headers["Content-Disposition"] = f"attachment; filename*=UTF-8''{_filename}"
UnicodeEncodeError: ‘latin-1‘ codec can‘t encode characters in position 29-30: ordinal not in range(
最新推荐文章于 2024-09-11 18:01:31 发布