Matt Hogstrom PGP key 0F143BC1 >> On Jul 7, 2023, at 19:14, Paul Gilmartin >> <[email protected]> wrote: >> > On Fri, 7 Jul 2023 18:11:39 -0400, Matt Hogstrom wrote: > >> Speculation on my part but I think CP1047 was created in part to allow for >> square brackets given their use in new programming languages at x’AD’ = ‘[‘ >> and x’BD’ = ‘]’ >> >> Those characters were not in 037 that I can find ... >> > They are in 037 <https://www.ibm.com/support/pages/ccsid-comparisons>: > BA left bracket > BB right bracket
See reference to Wikipedia below .. you’re right although they refer to the updated code page 037/0 > >> ...but apparently there are multiple versions of that 037. >> > WTF!? That makes as little sense as "multiple versions of π." I agree. Per the most authoritative source of truth on the planet Wikipedia says (sarcasm implied), https://en.m.wikipedia.org/wiki/Code_page_37 Code page 37 exists in two versions: a "base character set" or "DP94" version (GCSGID 101 with CPGID 37, or CCSID 8229), containing only 94 graphical characters (plus the space and control codes), and a "CECP" (Country Extended Code Page) version (GCSGID 697 with CPGID 37, or CCSID 37) with expansions to support the entire ISO/IEC 8859-1 repertoire. > >> I recall writing in SAS C back in the late 80’s and had to use ‘(|’ for [ >> and ‘|)’ for ] and it was a PITA the code that way. >> > They may not have appeared on various output devices, but that is hardly > solved > by introducing an additional code page. Like I said, speculation on my part but at that time on my MVS/XA system there were no brackets available. I agree, hardly justification. However, all the code pages and versions of codepages is a bit convoluted. > > -- > 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
