Advertisement
BrU32

JS Unicode Encode/Decode SRC V1

Oct 1st, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <center>
  2. <body bgcolor="lightblue">
  3. Text To Encode/Decode In The Unicode Format:<p>
  4. <b>
  5. <input style="border:yes;width:220;color:darkred; background:skyblue" id="t" value="Text To Encode/Decode In Unicode Format"></input><p>
  6. <button style="width:105" onclick="script:
  7. var rr=t.value;
  8. document.body.innerHTML=document.body.innerHTML+(encodeURIComponent(''+rr+'<p>'));
  9. "><b><font color=green>Encode</button>
  10. <button style="width:105" onclick="script:
  11. var rr=t.value;
  12. document.body.innerHTML=document.body.innerHTML+(decodeURIComponent(''+rr+'<p>'));
  13. "><b><font color=green>Decode</button>
  14. <p>
  15. <script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement