Error downloading a file with accents. :s
Posted: Wed Jun 13, 2007 11:19 am
Check this: http://www.codersphp.com/mirux/DHH/inde ... =ebiblicos
Try to download "Sin Autor - No es fácil" or any file that has áéíóúñ in author's name or title's name. And you'll get that error.
This is the part of the code:
Any idea how to solve this? I am avoiding to rename the files to someone like 01.doc, etc.. Because I need them with its right name.
By the way, special characters I solved them with htmlentities();
Try to download "Sin Autor - No es fácil" or any file that has áéíóúñ in author's name or title's name. And you'll get that error.
This is the part of the code:
Code: Select all
echo "<a class='ico' href='./files/".$msg->author. " - ". $msg->title. ".doc"."'><center><img src='./images/doc.gif'></center></a>";By the way, special characters I solved them with htmlentities();