Special characters in HTML

I am trying to retrieve specific information from a European web site. Now, the problem is I am often facing strings containing special characters such as "ä". When I try to write same into a text file it is coming as "�a". How to avoid this? My code is in VB.Net. There are no html codes for special characters in the response.

TIA!

Answers


In general, you should be able to do this by using the appropriate character coding for UTF-8 (which is what I assume you are trying to convert to)

Here is a list of HTML Codes.

Looks like the one you are wanting is:

Character   Friendly Code   Numerical Code  Hex Code    Description
ä           ä           ä         ä          Lowercase A-umlaut

Hope that helps.


I tried using WebBrowser instead of HttpRequest and Its working.


Need Your Help

Objc ivar declaration location

objective-c

What is the difference between:

access to intermediary return values in a clojure monad

clojure monads

I would like to compose functions of the following type: