Friday 16 December 2016

php - file_get_html returning bizarre symbols

$html = file_get_html("http://www.vegasinsider.com/mlb/odds/las-vegas/?s=316");

echo $html;



$html is returned as a bunch of strnage symbols that include vۺ�(



I though that using:



header('Content-Type: text/html; charset=utf-8');


would help, but it didn't. Any suggestions?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...