<div>HI!!</div>
<div> </div>
<div>I´ll look that and give you some feedback about this function!<br><br></div>
<div class="gmail_quote">2010/3/11 nitin gupta <span dir="ltr">&lt;<a href="mailto:nitingupta.iitg@gmail.com">nitingupta.iitg@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thanks Earnie, but that is not what I am looking for. It is essentially similar to urlencode or rawurlencode. I am looking for a function that does the work like the one present at the bottom of the page here:<br>
<br><a href="http://www.blooberry.com/indexdot/html/topics/urlencoding.htm" target="_blank">http://www.blooberry.com/indexdot/html/topics/urlencoding.htm</a><br><br>For eg:<br><br><a href="http://example.com/q=12" target="_blank">http://example.com/q=12</a> &amp;12grt key=value;&lt;&gt;+,.()!*<br>
<br>is converted to <br><br><a href="http://example.com/q=12%20&amp;12grt%20key=value;%3C%3E+,.()!*" target="_blank">http://example.com/q=12%20&amp;12grt%20key=value;%3C%3E+,.()!*</a><br><br><br clear="all">--<br>Regards,<br>
Nitin Kumar Gupta<br><a href="http://publicmind.in/blog/" target="_blank">http://publicmind.in/blog/</a><br><br><br>
<div class="gmail_quote">On Thu, Mar 11, 2010 at 7:32 PM, Earnie Boyd <span dir="ltr">&lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">nitin gupta wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> Hi,<br><br>
<div> I am not creating the URL, but I parse the URL from XML content and I<br> want to urlencode it. Also, I am looking to preserve all the reserved<br> characters in the URL and not just &#39;?&#39; or &#39;&amp;&#39;.<br>
<br></div></blockquote><br><a href="http://www.google.com/search?q=url+encoding+site%3Aapi.drupal.org" target="_blank">http://www.google.com/search?q=url+encoding+site%3Aapi.drupal.org</a> leads you to two api functions url [1] and drupal_urlencode [2].  Are these what you need?<br>
<br>[1] <a href="http://api.drupal.org/api/function/url" target="_blank">http://api.drupal.org/api/function/url</a><br>[2] <a href="http://api.drupal.org/api/function/drupal_urlencode" target="_blank">http://api.drupal.org/api/function/drupal_urlencode</a><br>
<font color="#888888"><br>--<br>Earnie<br>-- <a href="http://www.give-me-an-offer.com/" target="_blank">http://www.give-me-an-offer.com</a><br><br></font></blockquote></div><br></blockquote></div><br><br clear="all"><br>-- <br>
Att,<br><br>João Gustavo Taveira<br>Analista de Sistemas II<br>Peopleware Tecnologia<br>“Tecnologia começa com gente.“<br>Qualidade | Criatividade | Responsabilidade | Ética | Comprometimento<br>Fone:(21) 8208-4688 /  (21) 8160-1302<br>