Have you tried using the utf8 meta tag rather than using the htmlentities() function? That should solve the first issue, as I reckon the problem lies with the way your encoding the filename. Linux filesystems have far less limitations on filenames, so it could be that windows is doing something odd which coincides with what php is doing. I'm not at my machine right now to test, but you should be able to pass the filename in the url with url_encode and on the server convert it back with url_decode to give you the original filename back. Lastly, have you made sure your php scripts are saved as utf8, as that can sometimes solve some odd problems with character encoding. Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "Marc Guay" <marc.guay@xxxxxxxxx> Date: Tue, Oct 26, 2010 18:00 Subject: [PHP] Character encoding hell To: "php-general" <php-general@xxxxxxxxxxxxx> Again, if it helps, a link formatted in the same way to the same file links correctly on a windows machine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php