Solved

Converting/Rendering HTML Special Characters.

Posted on 2006-06-20
3
273 Views
Last Modified: 2012-06-27
Here my concern folx:
is there a function in ASP/VB.NET or elsewhere that will render special HTML characters.
Basically i'm looking for a magic fuction that will  return "shanté & Mórris"
when MagicFunction ("shanté & Mórris") is called.
I hope you get the idea...

holler
0
Comment
Question by:the_bachelor
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 75 total points
ID: 16946587
Hi the_bachelor,

I'm a PHP programmer that just loves to use htmlentities(), but I did a quick search on Google. From http://forums.asp.net/thread/892355.aspx, we can see that you can use

Server.HtmlEncode("string")

if you have ASP.NET

I don't know if there is anything native like that for ASP itself though...

Regards,
Ted
0
 
LVL 7

Author Comment

by:the_bachelor
ID: 16946991
Sweet Deal. Works like a charm
0
 
LVL 7

Author Comment

by:the_bachelor
ID: 16955488
Just in case anybody would land on this. I was looking for Server.HtmlDecode("string").
many thanks to Zyloch
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now