1 2 3 4 5 6 7 8 9
# test builtin chr (whether or not we support unicode) print(chr(65)) try: chr(0x110000) except ValueError: print("ValueError")