Why the parsing of flies encoding for the letter 'R'?

Friends, help to understand with this focus, flies encoding for a single character that is a capital 'R', did everything I could but I can not understand:

class Pars
 private $url_pars;
 private $ch;

 public $fp;

 public function __construct( $print = false ) {
 $headers = array (
 "Content-Type:text/html; charset=UTF-8"

 $this->ch = curl_init();

 if (!$print) {
 curl_setopt( $this->ch, CURLOPT_HTTPHEADER, $headers);
 curl_setopt( $this->ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36');
 curl_setopt( $this->ch, CURLOPT_RETURNTRANSFER, true );
 curl_setopt( $this->ch, CURLOPT_FOLLOWLOCATION, true );
 curl_setopt( $this->ch, CURLOPT_SSL_VERIFYHOST, false );
 curl_setopt( $this->ch, THIS, false );
 //curl_setopt( $this->ch, CURLOPT_FILE, $this->fp );


 public function set( $name, $value ) {
 curl_setopt( $this->ch, $name, $value );
 return $this;

 public function exec( $url_pars ) {
 curl_setopt( $this->ch, CURLOPT_URL, $url_pars );
 return curl_exec( $this->ch );

 public function __destruct() {
 curl_close( $this->ch );


and it returns
April 4th 20 at 13:27
1 answer
April 4th 20 at 13:29
You are given a link to the original page, not led PHP-shny code parse the data from the text page. Led script only run curl() for a page to load, which is the problem itself in any way... And where there is 7 => string "..." , etc.? Where is this PHP code? No, well... Well... Well, it's like "my car doesn't go, and all the Windows washed and all of the lights/lamps cloth rubbed, help-people-kind," by God!

And about spoiling the Russian R (HEX-code 0x20 0x04) - known problem. To preg_match/preg_replace is necessary to use the modifier u: preg_match("/\S+/su", $str);

Find more questions by tags PHP