PHP Curl Print Problem
<p>I'm trying to print an external site's HTML using curl, but when I go to <strong>print</strong> the html I just get a bunch of bad characters:</p>

<pre><code>D\ÓLþ¢GÎ–´ï!ñ{HÑ,Jþ»H¹§L+÷53j?‰²î¡&lt;‘*tÜe÷uÖbÃ¬ê~Æô¬²c˜‹§ ~áäÆL#f?â¶ŠªþU™á˜ÉÉOæ{^¤ëaÀ Tê"1Û¨Dtî’œxˆk‘:@ŽD5î:'¶e\*³q‘×¸`…±¾ôäó÷ð1j7þä‘åQ6®9bcxã„A2ã—-ÇøüåÉò÷2{ÂÐeæ¡¢Ç™ŒÄg©Az!Ø¡&gt;Â±z×šÂ+;f RZÛÝ€ížáÒžHa¬¢Æ'ë•ñ þ=Ð=ºtyšÖâå'ÇpžÄ¦ÆN½€5½roåðFe¹)ˆš`ØnhŠy(GÆÔ} Bu7H¥JzÐ iVê÷áÆ”øG&gt;6HÿUµÞhµj YH-ÌaaEÚx±‰…Êâ£-ûeÎqCÆLÌåã˜Ž‰†LÐÆM I]€a)Ï.$—ÅH••£ ŒŒ’ªÉ;cŽc(i´¥!I]‹€„³tFc^ë'€e±øÉ_øß
</code></pre>

<p>Here is my code:</p>

<pre><code>$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "http://www.thesite.com/");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec ($curl);
curl_close ($curl);
print $result; 
</code></pre>

<p>Any help would be great,</p>

<p>Thanks!</p>
