$str = "https://www.google.com/search?q=sd";
echo file_get_contents($str);
I'm try to load page from google with the function file_get_contents, but the output of chracters of utf-8 showing like question mark.
I've tried all the possibilities introduced here: file_get_contents() converts UTF-8 to ISO-8859-1 But the problem is still not resolved.
I would appreciate any help very.
UPDATE:
I see that the problem exists through Google, other sites content is displayed correctly.