Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with cyrillic characters in file name #584

Open
ant1fr1z opened this issue Feb 9, 2025 · 1 comment
Open

Problem with cyrillic characters in file name #584

ant1fr1z opened this issue Feb 9, 2025 · 1 comment

Comments

@ant1fr1z
Copy link

ant1fr1z commented Feb 9, 2025

response["Content-Disposition"] = 'attachment; filename = "' + name + '.docx"'
response["Content-Encoding"] = "UTF-8"
return response

If the name variable contains Cyrillic characters, I get an incorrect file name. How can I fix this?

@SergeyZaykov
Copy link

Please give us the full functional example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants