Skip to content Skip to sidebar Skip to footer

Html Agility Pack Parsing Website Encoding Iso-8859-1 Really Annoying

I have been parsing this website for my windows phone app using Html agility pack; First I download it using webclient class and then give the result for HtmlDocument. There was so

Solution 1:

Windows Phone only support a small set of encodings, and iso-8859-1 is not one of them!

To solve this, just create the encoding handler with Silverlight Encoding Generator, convert the text, and then use HTML Agility Pack as you are now!

Post a Comment for "Html Agility Pack Parsing Website Encoding Iso-8859-1 Really Annoying"