# TODO: Special-case the first few characters, which in chiropterm
# all represent glyphs instead of control characters
withopen("../src/cp437/data.bin","wb")asf:already_found=set()foriinrange(256):dec=bytes([i]).decode("cp437")print(i,repr(dec))assertlen(dec)==1assertdecnotinalready_foundalready_found.add(dec)f.write(dec.encode("utf8"))