This project has moved and is read-only. For the latest updates, please go here.

Get exact unicode tring from website

Topics: Developer Forum
Sep 24, 2014 at 4:53 PM
Edited Sep 24, 2014 at 5:03 PM
I want to get Port Code,Port Name ,Country from this page:
This's my code:
    WebRequest objWebRequest = WebRequest.Create(_link);
    objWebRequest.Credentials = CredentialCache.DefaultCredentials;
    WebResponse objWebResponse = objWebRequest.GetResponse();
    Stream receiveStream = objWebResponse.GetResponseStream();
    HtmlAgilityPack.HtmlDocument document = new HtmlAgilityPack.HtmlDocument();
But in this document, Port Name string is not exactly ('Sarandë'). This name on website is ('Sarandë'). Where I was wrong? Pls help.