I'm fetching the contents of a Windows-1251 encoded web site using file_get_html and want to serve it as UTF-8.
I set the headers to UTF-8 using: header('Content-type: text/html; charset=UTF-8');
Then i output the data using iconv("cp1252","UTF-8",'"desc":"'.$desc);
The output is no longer strange questions marks, but it's still not Cyrillic.
What am i doing wrong?