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

Shared deck download removes all non-ASCII characters from filename #3333

Open
dae opened this issue Jul 31, 2024 · 0 comments
Open

Shared deck download removes all non-ASCII characters from filename #3333

dae opened this issue Jul 31, 2024 · 0 comments

Comments

@dae
Copy link
Member

dae commented Jul 31, 2024

The deck at https://ankiweb.net/shared/info/1521800111 1 (chosen for its name only) is called:
Русский - Турецкий Rusça-Türkçe kelimeler(слов) 407
_-__Rusa-Trke_kelimeler_407.apkg

Probable solution:

Content-Disposition: attachment; filename="fallback.txt"; filename*=UTF-8''%E4%B8%AD%E6%96%87.txt

When the AnkiWeb code was originally written, filename* had not yet been introduced.

Originally reported on https://forums.ankiweb.net/t/shared-deck-download-removes-all-non-ascii-characters/47617

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

No branches or pull requests

1 participant