Answer the question
In order to leave comments, you need to log in
Why don't the mb_convert_encoding() and iconv() functions work?
Tried like this:
$str = file_get_contents('http://antiko22.info/vse_novosti/dolg-pered-mfo-ne-mozhet-prevyshat-telo-zajma-bolee-chem-v-3-raza/');
echo iconv("windows-1251", "UTF-8", $str); //ничего не вывелось
$str = file_get_contents('http://antiko22.info/vse_novosti/dolg-pered-mfo-ne-mozhet-prevyshat-telo-zajma-bolee-chem-v-3-raza/');
echo mb_convert_encoding($str, "UTF-8", "windows-1251"); //ѕРЅРЅС‹Р№РїРѕСЂС‚Р
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question