Skip to content

Instantly share code, notes, and snippets.

@Fake51
Created September 10, 2014 07:15
Show Gist options
  • Save Fake51/955ce62a96c5e7b4bbcc to your computer and use it in GitHub Desktop.
Save Fake51/955ce62a96c5e7b4bbcc to your computer and use it in GitHub Desktop.
Serious, this is messed up. That browsers get something so simple wrong is mindnumbing. Anyway, solution is:
Content-Disposition: attachment; filename="[ascii-only-filename]"; filename*=UTF-8''[urlencoded-utf8-filename]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment