Last active
July 12, 2019 00:04
-
-
Save larshb/c80ddf8f6bb9d7a535d01f1c1cfbf340 to your computer and use it in GitHub Desktop.
Character Map: Dump all supported characters to console
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
print(''.join(chr(x) for x in range(2**15))) |
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
res = 0x40 | |
top = 0xd800 | |
for i in range(0, top, res): | |
print("0x%x"%i, ''.join(chr(x) for x in range(i, i+res))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment