title: Russian URI using JavaScript
body: <p>I have a link with half part in English and other half in Russian character. </p>
  
  <p>ex: <a href="http://www.xxx.xx/?card=1234&amp;" rel="nofollow">http://www.xxx.xx/?card=1234&amp;</a>/русский/как-это-сделать/</p>
  
  <p>When I do a <code>encodeURIComponent(document.URL)</code> inside java script I get something like this
  <a href="http://www.xxxx.xx/card=1234&amp;/%D0%BE%D0%BB%D0%B8%D0%BC%D0%BF%D0%B8%D0%B0%D0%B4%D0%B0/%D0%BE%D0%B2%D0%B5%D1%87%D0%BA%D0%B8%D0%BD-%D0%BD%D0%B5-%D0%BF%D0%B" rel="nofollow">http://www.xxxx.xx/card=1234&amp;/%D0%BE%D0%BB%D0%B8%D0%BC%D0%BF%D0%B8%D0%B0%D0%B4%D0%B0/%D0%BE%D0%B2%D0%B5%D1%87%D0%BA%D0%B8%D0%BD-%D0%BD%D0%B5-%D0%BF%D0%B</a></p>
  
  <p>How to do a url encode inside java script so that I get a meaningful url to send (Which is exactly like the document URL, with the Russian character).</p>
  
  <p>Thanks ; :)  </p>