converter between different punchcodes to/from ascii