From: Vivek Date: 2008-08-18T22:16:43+09:00 Subject: Re: unescaping html Thanks for the replies , actually I want to unescape some form parameters which contain [ and ] . The CGI.unescape works..Is it a superset of what URL.unescape does? On Aug 18, 5:41 pm, Lars Christensen wrote: > On Aug 18, 1:41 pm, Vivek wrote: > > >  Is there a method or any library which allows me to unescape encoded > > html. For example If I have hi%5Bthere%5D > > I should get hi[there] > > I think you mean encoded URL, not encoded HTML. For URL encoding, you > can use URL.unescape, or CGI.unescape as Michael sugests. > > HTML escaping is a bit more complex, but the CGI has some methods, > e.g. CGI.escapeHTML/CGI.unescapeHTML.