PHP iconv Special Character Conversion

I have a problem converting the UTF-8 chars to the plain text. Some of them work while some give :?
echo iconv('UTF-8', 'ASCII//TRANSLIT', "Žluťoøučký kůň")
Outputs:
Zluto?ucky kun
Theø
is?
. My Php file is UTF-8 and there is no problem with encoding.
Any Ideas why?
Trying to run in Apache. Works fine when using through terminal
php
compiling
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: attempt to read property "id" on null
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.