Hi
I have folders filled with PDF files with filenames containing special characters (ie: Bébés & Enfants.pdf).
I usually rename files so that they don't contain special characters, but this time, I need to keep the filenames unchanged because they are displayed as a list of categories that must be human readable.
The problem is that the server can't find some of them when they are called via a simple href link.
I've tried to rename the files with rawurlencode() and then display the filenames with rawurldecode(), but still, the server can't find the files.
How am I supposed to handle that matter?
Thanks for the help!
I have folders filled with PDF files with filenames containing special characters (ie: Bébés & Enfants.pdf).
I usually rename files so that they don't contain special characters, but this time, I need to keep the filenames unchanged because they are displayed as a list of categories that must be human readable.
The problem is that the server can't find some of them when they are called via a simple href link.
I've tried to rename the files with rawurlencode() and then display the filenames with rawurldecode(), but still, the server can't find the files.
How am I supposed to handle that matter?
Thanks for the help!