The parser output text with this encoding

Ïèñüìî ÊÖ ïî öåíîîáðàçîâàíèþ è ñìåòíîìó íîðìèðîâàíèþ â ñòðîèòåëüñòâå îò 14.10.2013 ã. ¹ ÊÖ/Ï2013-10òè Îá èíäåêñàõ èçìåíåíèÿ ñìåòíîé ñòîèìîñòè ñòðîèòåëüñòâà ïî îêðóãàì è ðåãèîíàì ÐÔ íà îêòÿáðü 2013 ã. 

Lebedeva Descriptor says that it is CP1251

I tried to change the encoding using, for example, this function, but now there are just question marks.

 $str = mb_convert_encoding($page_title, "CP1251", "CP1252"); 

What is the best way to make a descript?

  • 2
    why are you reworking with cp1252? mb_convert_encoding ($ page_title, "CP1251", "UTF8"); - zb '
  • c utf8 also translates into question marks - Happy_Cougar
  • guys, and you are not confused by the fact that the second argument is the output encoding? - etki
  • then how to make a transfer? - Happy_Cougar
  • @HappyCougar, if you climb into the docks, you can see that you just need to change the arguments in some places. If it doesn't work then, turn to iconv. - etki

0