I'm on a shared hosting which runs Apache on a Windows server. I am running Linux and I have uploaded some files that should be accessible directly via a public URL (that is known only by a few people). Now, some of these files contains accented characters (ex: "encyclopédie.pdf") but the file index show the files with replacement symbols (ex: "encyclopédie.pdf"). Can I correct this via .htaccess specifying the charset of the index? Or do I have to rename the files without accents?

1 Answer 1


Alright, after some digging, here is what I have found (and it works).

IndexOptions Charset=UTF-8


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.