Skip to content

Instantly share code, notes, and snippets.

@1000copy
Created April 27, 2014 13:15
Show Gist options
  • Save 1000copy/11345332 to your computer and use it in GitHub Desktop.
Save 1000copy/11345332 to your computer and use it in GitHub Desktop.
cyrillic char c
<!DOCTYPE html>
<html>
<body>
<p id="demo">Click the button to decode a URI after encoding it.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction()
{
var dec = decodeURI("%d1%81");
var res = "Decoded URI: " + dec;
document.getElementById("demo").innerHTML=res;
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment