Schlagwort-Archive: utf-8

PHP UTF-8 Umlaute für Dateinamen

PHP Code „ä“ wird zu „c3a4“ UTF-8(hex.) echo(strtolower(str_replace(„%“,““,urlencode(‚ä‘)))); WordPress Beispiel Image: „käse.jpg“ wird zu „kc3a4se.jpg“ URL: https://romanpantring.files.wordpress.com/2014/11/kc3a4se.jpg

Veröffentlicht unter File-Upload | Verschlagwortet mit , , | Kommentar hinterlassen