title: What is the encoding method used in this string?
body: <p>I am reading a documentation, but it is not specified how to encode url's. Normally, you use <code>urlencode</code>, but i don't think it is the case here. What is the encoding method used in this string : </p>
  
  <pre><code>http&amp;#x3a;&amp;#x2f;&amp;#x2f;url.retour.com/err.cgi&amp;#x3f;order_ref&amp;#x3d;votreRF12345
  </code></pre>
  
  <p><strong>Edit:</strong> What php method(s) sould i invoke on this string <code>http://url.retour.com/err.cgi?order_ref=votreRF12345</code> in order to encode it ?</p>