With cURL, I am saving files which have UTF-8 chars in the filename.

For example: 

```
testšć.docx

```

When I used `mb_detect_encoding()`, it returned ASCII.

So I tried to convert it with `iconv` from ASCII to UTF-8 and from UTF-8 to UTF-8.

Neither option worked.

**So does anyone has a suggestion on how I could keep UTF-8 file names?**

Cheers!