Last active
October 11, 2019 12:30
-
-
Save ZeroOne3010/9d35f173cf261acd7b2f874931ee64b2 to your computer and use it in GitHub Desktop.
A web page from which you can easily copy certain Unicode escape codes to clipboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Unicode escape characters</title> | |
| <link rel="icon" href="data:image/png;base64, | |
| iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAACBjSFJN | |
| AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABIFBMVEUAAABUACFVACFVACJx | |
| KUaZZ3trIT7////+/v7dzNOld4qidIbfz9ZpHjz+/f5wKEXXw8uqgJGdbH/l2N1kFzb9/Px1MUxk | |
| FjW/n6x4NVCofo+dbIDSu8SwiJhtJEGOVWzbydDIrbiXY3jq3+NWASNhETH7+fp7OVPMs721kZ+S | |
| W3Hu5ulXAyRdDS359veBQVvHqra7maeMU2ny7O5YBSZbCCn28fOGSmKPV27Boq5mGjihcoXz7fBW | |
| AiSLUWj38/XRusPy7O+MUmm3lKLJrrmCRF16OFKUX3T6+PlbCSq7mqfGqrVhEjLPuMFxKkf07vFs | |
| I0CBQlv59fddDC1gETCyjJvp3uL18PKMU2pVASJyK0fBoa7v5uqQWW+ERl9YBCUefyggAAAAA3RS | |
| TlMCfOYzEWEHAAAAAWJLR0QHFmGI6wAAAP9JREFUOMuF02dTwkAUheEkV3ntDdGoqKioqIiNIhbA | |
| 3nsv6P//F7omo3Em3JwvZ+/MM7tf9lqW7UjDOLZl2aLGthwdOJZExICmZh3EaInpN7TSpoN2OnTQ | |
| 2UW3CqSHXh30EddBf4IBfx503SHvNOyO/AJJMuqDMRj3Tikm/sAkU2kVTM8wqwLJMKeDeRayKljM | |
| saQCWWZFB6us5VVQKFLywXookDJlUxuwGQ5KFAvfld4itW3mSpXaP5DfYdf0HuwfHB4lyXFcOQkA | |
| OeXM1Hmcn1xcXsF1ENxwe2f6/uEx8VR7fpHXt0zwCcm+U2/0H7zUPz51EJ7o1Ytc3qj1/wIpvCQ3 | |
| DESVygAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0wOC0xNlQxNTozMjoyNiswMzowMCfz290AAAAl | |
| dEVYdGRhdGU6bW9kaWZ5ADIwMTktMDgtMTZUMTI6MjI6MjYrMDM6MDDqU7r5AAAAAElFTkSuQmCC"/> | |
| <style type="text/css"> | |
| html * { | |
| font-size: xx-large; | |
| } | |
| p { | |
| font-size: medium; | |
| } | |
| pre { | |
| user-select: all; | |
| -webkit-user-select: all; | |
| } | |
| pre::selection { | |
| animation-name: green-pulse; | |
| animation-duration: 2s; | |
| animation-iteration-count: 1; | |
| } | |
| table { | |
| border-collapse: collapse; | |
| } | |
| td, th { | |
| text-align: center; | |
| font-family: monospace; | |
| border: 1px solid #aaa; | |
| padding: 0.2em 0.5em; | |
| } | |
| @keyframes green-pulse { | |
| 0% { | |
| background-color: inherit; | |
| } | |
| 20% { | |
| background-color: green; | |
| } | |
| 100% { | |
| background-color: inherit; | |
| } | |
| } | |
| .click-animation { | |
| animation-name: green-pulse; | |
| animation-duration: 2s; | |
| animation-iteration-count: 1; | |
| } | |
| </style> | |
| <script type="text/javascript"> | |
| document.addEventListener('click', event => { | |
| const element = event.target; | |
| if (element.tagName !== 'PRE') { | |
| return; | |
| } | |
| element.parentElement.classList.remove('click-animation'); | |
| document.execCommand('copy'); | |
| element.parentElement.classList.add('click-animation'); | |
| }, false); | |
| </script> | |
| </head> | |
| <body> | |
| <p>Click on a code to copy it to clipboard.</p> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Character</th> | |
| <th>Unicode</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>ä</td> | |
| <td><pre>\u00e4</pre></td> | |
| </tr> | |
| <tr> | |
| <td>Ä</td> | |
| <td><pre>\u00c4</pre></td> | |
| </tr> | |
| <tr> | |
| <td>ö</td> | |
| <td><pre>\u00f6</pre></td> | |
| </tr> | |
| <tr> | |
| <td>Ö</td> | |
| <td><pre>\u00d6</pre></td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </body> | |
| </html> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://gistpreview.github.io/?9d35f173cf261acd7b2f874931ee64b2 for this page in action.