You typically want a bijection from rendered glyphs to binary representation and restricting to ASCII is the most straight forward way to achieve that.