Create a Folder with mutated vowel

Good Morning,

i want to create a Folder on my Server with the name of a input field on my web form.

$Folder->copy(WWW_ROOT . 'files/property/' . $plz . '/' .$adresse);

The name’s are street names. That includes ß and ä, ö and ü. The input in my database is correct. But the name of the folder is incorrect. It is “Hürterstraße” instead of Hürstenstraße.

What is going wrong.

Thanks for help.

mitch

The Solution:

$adresse = mb_convert_encoding($this->data[‘Property’][‘name’], ‘iso-8859-15’);
$Folder->copy(WWW_ROOT . ‘files/property/’ . $plz . ‘/’ .$adresse);

thanks