If filenames in a custom folder contain special chars files won't play.
-
I created a new folder in my WP main directory where wp-content etc are. In this folder there are my mp3 files. In a page I use following shortcode:
[mp3-jplayer title="My Title" tracks="FEED:/my_htdocs_folder/my_folder_in_the_wp_main_directory"]
The files with special chars like ü or ? show up in the playlist, but the special chars are replaced by ?. By clicking on them they won’t play.
Firebug says that a network error 404 occured. It couldn’t find the file because the special chars in the filename was replaced by “%EC%AC%AC” for example. My wordpress site is utf-8 encoded. The plugins script is way to long to try things out with htmlspecialchars() in the php script or decodeURI() in the javascript file…
So does anyone know how to fix this?
- The topic ‘If filenames in a custom folder contain special chars files won't play.’ is closed to new replies.