html character conversion

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hello,
is there a standard method in VB.NET to convert ascii to html character
types? For instance the  to the numeric & # 194; or symbol & Acirc;
representation. And also back.
Thanx
Frank
 
Hello,
is there a standard method in VB.NET to convert ascii to html character
types? For instance the  to the numeric & # 194; or symbol & Acirc;
representation. And also back.


Yup, Server.HTMLEncode.
 
* "Frank said:
is there a standard method in VB.NET to convert ascii to html character
types? For instance the  to the numeric & # 194; or symbol & Acirc;
representation. And also back.

Text -> HTML: 'HttpUtility.HtmlEncode'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top