As I wrote, there is no a method to provide the reverse functionality for
TextToHtmlText and RemoveHtmlSpecialChars,

Sorry, the subject of your message was misleading.

With the existing names used for back compatibility, I'd suggest to
introduce
new alias (either of abovementioned). And add
HtmlEntity/SpecialCharsDecode of course.

Feel free to propose new code.
The main rules to follow are:
1) Do not break existing code
2) Always start from latest source extracted directly from SVN
3) Discuss your changes here in the mailing list
4) Do not break any existing code, again
5) heavily test your proposal
6) Follow "ICS & Midware coding Style".

Thanks

--
francois.pie...@overbyte.be
http://www.overbyte.be


----- Original Message ----- From: "Stanislav" <stas...@orc.ru>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, January 11, 2010 10:43 PM
Subject: Re: [twsocket] Full URL decode (unescape)


As I wrote, there is no a method to provide the reverse functionality for
TextToHtmlText and RemoveHtmlSpecialChars,
i.e. unescaping html entities, such as &amp; etc., into single characters.

By the way, both names of the functions seems to be misleading, IMHO.
TextToHtmlText should read something like HtmlEntityEncode or
HtmlSpecialCharsEncode. RemoveHtmlSpecialChars looks like a
stripped down version of the TextToHtmlText. Why do we have both?

With the existing names used for back compatibility, I'd suggest to
introduce
new alias (either of abovementioned). And add
HtmlEntity/SpecialCharsDecode of course.

----- Original Message ----- From: "Francois PIETTE" <francois.pie...@skynet.be>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, January 11, 2010 9:35 PM
Subject: Re: [twsocket] Full URL decode (unescape)


UrlDecode ?
If this doesn't fit your need, please give an example of what you need.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

----- Original Message ----- From: "Stanislav" <stas...@orc.ru>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, January 11, 2010 9:15 AM
Subject: Re: [twsocket] Full URL decode (unescape)


I've looked at the module before writing the initial post.
What do you mean exactly? There is no a function for
unescaping.

----- Original Message ----- From: "Francois PIETTE" <francois.pie...@skynet.be>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Sunday, January 10, 2010 7:05 PM
Subject: Re: [twsocket] Full URL decode (unescape)


Have a look at OverbyteIcsUrl unit.

--
francois.pie...@overbyte.be
http://www.overbyte.be

----- Original Message ----- From: "Stanislav" <stas...@orc.ru>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Sunday, January 10, 2010 12:07 AM
Subject: [twsocket] Full URL decode (unescape)


Hi everyone,

Perhaps, this is a silly question, but I don't see a function for
unescaping URLs. HttpSrv module does have TextToHtmlText and
RemoveHtmlSpecialChars functions, but does not have anything
for reverse translation. UrlDecode does not look at html entities
either. Of course, we can code such things in our applications
on our own, but why doesn't HTTP server component (or IcsUrl)
provide unescaping, if it provides escaping? If I overlooked it,
please, point me out the place where to look at.

Best wishes,
Stanislav.
--

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to