vtxr1300,
Use the static HtmlEncode and HtmlDecode methods on the HttpUtility
class in the System.Web namespace, located in System.Web.dll.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"vtxr1300" <ca********@hotmail.comwrote in message
news:11**********************@s53g2000cws.googlegr oups.com...
I have a description field where people are putting in all kinds of non
html characters. When they're being pulled from the db, they're coming
out like â?¢ or or any number of things. Does anyone have
a C# function written that would fix these? It's for a C# v1 project,
not v2. Thanks.