Solved

Converting/Rendering HTML Special Characters.

Posted on 2006-06-20
3
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

740 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