Add compatibility file with accent

Hello :)
thanks for the job 
I had a problems with my file/folder with accent cause you know i'm french and i wanted to have accent in my menu. The problem was that php file access encode my file and folder name in ISO-8859-1 so in my pages i had encoding problems so i fixed this in this pull request by encoding and decoding file/folder name to get links works and have the good encoding.
If you wanna merge it could be great for other people ;)