title: Can someone tell me how to create a QR code for a url with parameters
body: <p>I've tried using a few web pages to create QR code to create a QR for a regular url and they fine.</p>
  
  <p>However, if I had parameters to the url, the resulting url does not decode properly.</p>
  
  <p>If you try this</p>
  
  <pre><code>http://chart.apis.google.com/chart?cht=qr&amp;chs=500x500&amp;choe=UTF-8&amp;chld=H&amp;chl=http://localhost?someparam=1&amp;someotherparam=2
  </code></pre>
  
  <p>instead of the QR code pointing to  <code>http://localhost?someparam=1&amp;someotherparam=2</code></p>
  
  <p>the Barcodescanner decoder apps on Android and iPhone point to</p>
  
  <pre><code>http://localhost/?someparam=1&amp;someotherparam=2
  </code></pre>
  
  <p>The forward slash /  between what would be the server name (domain name) and the start of the parameter string is obviously incorrect.</p>
  
  <p>I'm assuming that it's something to do with url encoding and I'm just looking for a pointer in the right direction from someone who might had already cracked this nut.</p>
  
  <p>Zxing's QR code generator has the same effect. But it seems to rely on Google also.</p>
  
  <p><a href="http://zxing.appspot.com/generator/" rel="nofollow">http://zxing.appspot.com/generator/</a></p>
  
  <p>Also</p>
  
  <p><a href="http://d-project.googlecode.com/svn/trunk/misc/qrcode/js/sample.html" rel="nofollow">http://d-project.googlecode.com/svn/trunk/misc/qrcode/js/sample.html</a></p>