Link to home
Start Free TrialLog in
Avatar of mikha
mikhaFlag for United States of America

asked on

character encoding of text in a html file

I am displaying content from different sources, such as database , web service call and so forth, in my website.
 There is no guarantee that the content  i get are in any particular character encoding, some may be in UTF-8 or UTF-16 or something else.

I am getting the content and displaying it as. can I change it to  a particular encoding before , I display it to my web page. at

I am setting the text content inside a div to whatever is returned from a web service call, in code behind page in asp.net website. I'm using C#.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial