Discussion:
EBCDIC (was: Json table characters)
(too old to reply)
Nightwatch RenBand
2018-08-08 19:05:12 UTC
Permalink
Raw Message
Wow. Exciting for an old Dinosaur to actually be able to contribute
something.

The HxD Hex Editor https://mh-nexus.de/en/hxd/ (or many other places).
Or perhaps another PC based Hex editor can be SO very useful when dealing
with finding out just what the heck is actually in ASCII, or EBCDIC, or any
other. It has helped resolve a lot of problems for me including figuring
out how to incorporate special characters in passwords when using foreign
language keyboards. Hint: if you use special chars in your passwords they
will NOT translate to the same chars, or keyboard locations if you try to
use them on a computer overseas, so choose them carefully. You may lose
your smartphone/notebook and be forced to use whatever you can find.

-Just waiting here to hit the EPO switch for the mainframe. ; ^ ) And then
a long vacation in Italy.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Paul Gilmartin
2018-08-08 19:07:29 UTC
Permalink
Raw Message
Yes, ??= is the trigraph for #. Talk about hash!
Trigraphs go away in C++17.
Then what happens? ISO Latin only? ??=pragma codepage ...? Other (specify)?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Charles Mills
2018-08-08 20:20:26 UTC
Permalink
Raw Message
I dunno.

I *think* the alternatives and digraphs like not and <% are adequate for any code page. I could easily be wrong. They behave better in my impression because I think the compiler parses them just like any other operator or token, whereas the trigraphs behave like "uber-macros" and get substituted even in string literals and comments.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin
Sent: Wednesday, August 8, 2018 12:07 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: EBCDIC (was: Json table characters)
Yes, ??= is the trigraph for #. Talk about hash!
Trigraphs go away in C++17.
Then what happens? ISO Latin only? ??=pragma codepage ...? Other (specify)?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Paul Gilmartin
2018-08-08 20:00:42 UTC
Permalink
Raw Message
Yes, ??= is the trigraph for #. Talk about hash!
Trigraphs go away in C++17.
Strongly opposed by IBM.

Replaced in string literals. But according to what CCSID? I'm trying not to
envision the anguish of the compiler writer confronting something as basic as:
printf( "??( ??/??/ ??)??/n" );

The ISPF Edit Macro Ref. states that metacharacters in regular expressions
are interpreted in the code page of the logged-in terminal. It lists a
couple dozen that are supported. A challenge to the author of purportedly
portable macros.

What if batch; no attached terminal? A cursory experiment indicates
compatible with 1047. Maybe. Not documented. To make Edit macros
portable, they'd need to provide a PRAGMA CCSID.

I hate EBCDIC!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Steve Smith
2018-08-08 20:06:21 UTC
Permalink
Raw Message
I'll second that recommendation... HxD is very useful, and well-designed.

I'll also second the notion of a long vacation in Italy. I've done that,
but it's much too long ago.

sas
Post by Nightwatch RenBand
Wow. Exciting for an old Dinosaur to actually be able to contribute
something.
The HxD Hex Editor https://mh-nexus.de/en/hxd/ (or many other places).
Or perhaps another PC based Hex editor can be SO very useful when dealing
with finding out just what the heck is actually in ASCII, or EBCDIC, or any
other. It has helped resolve a lot of problems for me including figuring
out how to incorporate special characters in passwords when using foreign
language keyboards. Hint: if you use special chars in your passwords they
will NOT translate to the same chars, or keyboard locations if you try to
use them on a computer overseas, so choose them carefully. You may lose
your smartphone/notebook and be forced to use whatever you can find.
-Just waiting here to hit the EPO switch for the mainframe. ; ^ ) And then
a long vacation in Italy.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Charles Mills
2018-08-08 20:21:07 UTC
Permalink
Raw Message
HxD highly recommended, and the price is right.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of Steve Smith
Sent: Wednesday, August 8, 2018 1:06 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: EBCDIC (was: Json table characters)

I'll second that recommendation... HxD is very useful, and well-designed.

I'll also second the notion of a long vacation in Italy. I've done that,
but it's much too long ago.

sas
Post by Nightwatch RenBand
Wow. Exciting for an old Dinosaur to actually be able to contribute
something.
The HxD Hex Editor https://mh-nexus.de/en/hxd/ (or many other places).
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Cameron Conacher
2018-08-08 20:50:54 UTC
Permalink
Raw Message
Just say yes to the hex editor.
Also, (maybe no need to mention) please show me the raw data before you
import it to Excel, or Word or Notepad or cut and paste it somewhere.
Let me see the original bits.
Please.
Post by Charles Mills
HxD highly recommended, and the price is right.
Charles
-----Original Message-----
Behalf Of Steve Smith
Sent: Wednesday, August 8, 2018 1:06 PM
Subject: Re: EBCDIC (was: Json table characters)
I'll second that recommendation... HxD is very useful, and well-designed.
I'll also second the notion of a long vacation in Italy. I've done that,
but it's much too long ago.
sas
On Wed, Aug 8, 2018 at 3:04 PM, Nightwatch RenBand <
Post by Nightwatch RenBand
Wow. Exciting for an old Dinosaur to actually be able to contribute
something.
The HxD Hex Editor https://mh-nexus.de/en/hxd/ (or many other places).
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Loading...