I'm trying to use C# to download the source of this website http://www.dotnetperls.com/net
and do some parsing. I'm using this function:
WebClient client = new WebClient();
string website = client.DownloadString("http://www.dotnetperls.com/net");
The code I'm getting is unreadable though, here's an excerpt of it:
‹ „VoŰ8ý*Ü5Řţ!;q6UlárŰt ×öę ÷7%Ž,n(R%)˙XĂßý†¤ĺH¶€ IĎ{3śyCRYüÂTf÷–"YśF ,Y»0ľÔpŔ%Ők.ăÜLŁjG¦3>V»‡\(jcÍ×…}HiöşÖŞ–lT)Ă-W2¶Ş"W¨†
ĐKŞÓę8‡-g¶góŕ<âéGüq”
vŰÂf‘ÇXÝ´°Ű;ŹU
I checked the website source in firefox and it seems just fine. What am I doing wrong?