W dniu 30.01.2021 o 00:39, Tony Harminc pisze:
On Fri, 29 Jan 2021 at 18:21, Radoslaw Skorupka <[email protected]> wrote:
Few remarks:
...
4. Source code EBCDIC-ASCII translation. Example: I hate REXX
translation. REXX use || characters while in CP852 it should be !!.
Simple translation corrupts REXX code. C code is corrupted as well.
The | character is at the same code point X'7C' in CP852 (ISO Latin-2)
as it is in CP819 (ISO Latin-1) and most other European language CPs.
The ! character is at X'21' in CP852 and most others. So your problem
is with neither REXX nor with CP852 - it's presumably with some bad
translation table in your FTP or TN3270 or...
Tony,
I live with this issue for more than 20 years. First time I met it in
1999 when I tried to run ...Star Wars move on ISPF.
Of course I know how to manage it, but default codepage translation
tables do not. It doesn't matter you use ftp, IND$FILE or just
copy-paste from Notepad to 3270 emulator (various types/vendors).
Of course the table can be modified, but it will fix REXX sourcecode
problem and will be bad for other text files.
BTW: I think it is not simply my problem or problem of Eastern Europe
(actually I live in Central Europe). It is also described on Mark Zelden
website. And Mark provided good advice there: use XMIT format whenever
possible. I follow it. Of course it is not applicable for "copy-pasted"
small portions of code from some redbook or other publication.
BTW: I vaguely remember when I fixed the issue of square brackets and
code page not displaying it correctly - AFAIR it took them one and half
day before I helped them. It was some backup product, nevermind.
Regarding to the topic - Charles was good on this point - small errors
do not prevent to review the code. And exact (but hard to read) copy can
be done as well.
--
Radoslaw Skorupka
(looking for new job)
Lodz, Poland
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN