Skip to content

Instantly share code, notes, and snippets.

@larshb
Last active July 12, 2019 00:04
Show Gist options
  • Save larshb/c80ddf8f6bb9d7a535d01f1c1cfbf340 to your computer and use it in GitHub Desktop.
Save larshb/c80ddf8f6bb9d7a535d01f1c1cfbf340 to your computer and use it in GitHub Desktop.
Character Map: Dump all supported characters to console
print(''.join(chr(x) for x in range(2**15)))
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