<div dir="ltr"><br>
<br><br><div class="gmail_quote">On Tue, May 24, 2011 at 00:23, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
<br>
On Tue, 24 May 2011, ik wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Does fpWeb have any method/function that escape and un-escape html and URI elements ?<br>
</blockquote>
<br></div>
Yes.<br>
<br>
in fphttpclient:<br>
<br>
Function EncodeURLElement(S : String) : String;<br>
Function DecodeURLElement(Const S : String) : String;<br>
<br>
We should maybe move them to URIParser or maybe even strutils.<br></blockquote><div><br>I can not find any HTML encode and decode, I'll make one and open a bug with the patches.<br>Where do you think it will be best to place it (I mean the unit) ?<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Michael.<br></blockquote><div><br>Thanks,<br><br>Ido<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>