By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

html character conversion

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Frank" <fr***@frank.com> wrote in news:cdb6m6$85v$1
@news2.tilbu1.nb.home.nl:
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.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 20 '05 #2

P: n/a
* "Frank" <fr***@frank.com> scripsit:
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'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.