anki icon indicating copy to clipboard operation
anki copied to clipboard

Shared deck download removes all non-ASCII characters from filename

Open dae opened this issue 1 year ago • 2 comments

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

dae avatar Jul 31 '24 13:07 dae

Hi!

@matbe766 and I would like to work on this issue together.
Is it still relevant?

Thanks!

Hannanilsenn avatar Oct 07 '25 09:10 Hannanilsenn

@Hannanilsenn this requires a change on AnkiWeb's side, so can only be fixed by @dae.

abdnh avatar Oct 13 '25 06:10 abdnh