Those aren't ASCII.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Tuesday, November 20, 2018 6:13 PM To: [email protected] Subject: Re: So much for THAT excuse | Computerworld SHARK TANK On Tue, 20 Nov 2018 16:07:24 -0600, Tom Marchant wrote: >>> >>Doesn't UNPK just swap nybbles of the rightmost byte >It does do that. > >>and set all other zone bits to 0 regardless of character set? >No. It never sets the zone bits to 0. >It sets the zone bits to F when in EBCDIC mode and to 5 when in ASCII mode. > 5? I would have expected 3: for ( I = 48; I <58; I++ ) printf( "%x %c\n", I, I ); } 30 0 31 1 32 2 33 3 34 4 35 5 36 6 37 7 38 8 39 9 >Don't forget ASCII was a 7-bit code. IBM was probably among the first to >design an 8-bit extension. I don't know when an 8-bit ASCII standard was >introduced. > Hardly a standard; more a Babel: https://secure-web.cisco.com/1MpmbseV_uDI6lhl6SicZdWH7YSSrQT9qdyL5kIQ6qQiTqfZ3sTzws7m2LtDHnGKh6Z28h6Q-TsAz94OiH-Vzg3veu8E0AuTsyjkDbctlfXkf_U7kbBhCx-NvjwS8kM31yTj3OqLTmXtBii4PUvBn9emJcjBRgh2h36YIei5eyaD59dJYBGC1nrw3zKKA9T1SHC22v50Q-fN82HdJoQx6ytdKyh4C2mv5MO8OEZp4KOU9O22-eRwY3-cHSavqDMoHx7594tNguHC-iidI30YlYHHlL5VFZ5idB8AkxUM4naLNhA8kLbd92ANxHtX0rHXHgCgUjx-uET-cEUKpdAMdt8JdkS0DZQ0qpf7GnbgtWOsu_SzUKBrbGanI71GncRbuKo7zuETP9lq9LSHCV24u2z9Gvz4vhoE1fjhf-zNt0ewrYYhh7Pdttd1RQbXu8i4-/https%3A%2F%2Fwww.iana.org%2Fassignments%2Fcharacter-sets%2Fcharacter-sets.xhtml -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
