gravity-pdf
gravity-pdf copied to clipboard
Safari: Non-ASCII Characters in Filename don't work when Viewing/Download PDF
Description
If a PDF filename contains non ASCII characters (like another language 報名成功!) when you view or download the PDF from the admin area the filename will be garbled.
Research shows there isn't a good way to resolve this using the Content-disposition header. The most reliable method is to include the filename at the end of the URL and not use a Content-disposition header at all.
Further testing will need to be done on the best way to structure the URL, and ensure it works with our existing system.
Hi @jakejackson1. I wasn't able to replicate this issue, it works fine on my end using Chrome and Firefox browsers :

@jestonihpi what's the filename look like on your local machine when you use the "download" link on the Entry Details page?
Everything seems normal on my end @jakejackson1 :

Further testing has shown this appears to be a Safari browser-related issue only. As you can't test this yourself to replicate, I'll look into this when I've time.