I m getting encoding problem when doing curl using php of this page that is in russian language https://web.archive.org/web/20060403041216/http://inostranets.ru:80/
Here below the code that I m using :
$url="https://web.archive.org/web/20060403041216/http://inostranets.ru:80/";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_USERAGENT,'waybackmachinedownloader');
$html = curl_exec($ch);
As result I m getting caracters similar to this: "ÂÍÅ ÊÎÍÊÓÐÅÍÖÈÈ – ÑÊÀÇÎ×ÍÛÉ ÑÈÍÃÀÏÓÐ Òóðîïåðàòîð «ÄÅλ ïðèãëàøàåò Âàñ ïîñåòèòü"
Please check image below