Re: Web service converts ' into '
Paul ten Brink <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <OF8C24A664.1551148F-ONC125728A.003B6F16-C125728A.003BAB26@philips.com> |
Hi Efran and Mark, HtmlEncode and HtmlDecode is exactly what I was looking for but could not find anymore... Cheers! Paul ten Brink [email protected] > Date: Tue, 20 Feb 2007 17:27:08 +0100 > From: Efran Cobisi <[email protected]> > Subject: Re: Web service converts ' into ' > > Hi Paul, > > Maybe you are looking for System.Web.HttpUtility.HtmlEncode() and > System.Web.HttpUtility.HtmlDecode() methods. > HTH, > > Efran Cobisi > http://www.cobisi.com > > Paul ten Brink wrote: > > Hello, > > > > A web service returns a string containing an apostrophe, but it is > > converted to its HTML code equivalent (see subject). > > > > (I am avoiding using the actual characters, since these could be changed > > by mail programs/services, which could make my question very confusing.) > > > > There is a simple conversion call, but I can't remember it and Googling > > does not help. Something like System.Convert... > > > > Can anyone help me out? > > > > Thanks in advance, > > Paul ten Brink > > [email protected] =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com