How to get HTML source?

I try WWW.data, but return null?

var url = “http://www.google.com/”;
var GUITEXT : GUIText;
function Start () {

var www : WWW = new WWW (url);

yield www;

if (www.error){
print(“error”);
}else{
GUITEXT.text = “source” + www.data;
Debug.Log(www.data);
}
}

Somebody help me? Or just a tips?

Hey,
there is a known issue, that WWW.data provides result as string only when stream encoding is ASCII. You probably should use WWW.bytes and convert its content to string:

string str = string str = new System.Text.UTF8Encoding().GetString([url]www.bytes[/url]);

EDIT: fixed compilation error