#!/usr/bin/python3 # ==================================================================== # see: www.fileformat.info/info/charset/UTF-8/list.htm # ==================================================================== print('----------------------------------------') for i in range(33,126,10): print(f'dec = [{i:5}] hex = {i:<4x} char = ({chr(i)})') print('----------------------------------------') for i in range(128,256,20): print(f'dec = [{i:5}] hex = {i:<4x} char = ({chr(i)})') print('----------------------------------------') for i in range(1024,2000,100): print(f'dec = [{i:5}] hex = {i:<4x} char = ({chr(i)})') print('----------------------------------------') for i in range(10000,20000,1000): print(f'dec = [{i:5}] hex = {i:<4x} char = ({chr(i)})')
See Extended ASCII (wikipedia) and UTF-8 (Wikipedia)