Created
November 2, 2021 14:10
-
-
Save akkuman/a70cedf4dfa0c84779a070a6a93b8cfc to your computer and use it in GitHub Desktop.
[自动生成punycode] #javascript #html
This file contains 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> | |
<body> | |
<script type="text/javascript"> | |
for(i=0;i<=65535;i++) | |
{ | |
c = unescape('%u' + i.toString(16)); | |
if (c.match(/\P{C}+/gu)) | |
{ | |
console.log(c); | |
document.write(c); | |
document.write('<br/>') | |
} | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment