Skip to content

Instantly share code, notes, and snippets.

View jquast's full-sized avatar
🐡
I may be slow to respond.

Jeff Quast jquast

🐡
I may be slow to respond.
View GitHub Profile
#!/usr/bin/env python3
import sys
# I've been asked "Why use iso8859-1 encoding" in terminal applications,
for n in range(256):
# all possible 8-bit keyboard input as bytes
byte = bytes([n])
# assert 8-bit keyboard input value is unmodified by iso8859-1