On Wed, 9 Feb 2022 10:06:32 +0800, David Crayford wrote:
>>
>> I should have cited the , which shows more:
>> <https://www.ibm.com/docs/en/zos/2.5.0?topic=reference-controlling-text-conversion-zos-unix-shell-commands>
>>>
>> What did ISPF HEX display  show for the "[]"?  What codes did
>> "od -tx1" on z/OS show after you Saved the file?
>
>0xDD and 0xA8 which confirms my suspicion.
> 
Do those match any code page you know?  I don't recognize them.

>> On what platform did you run Vim?
>
>I ran Vim on z/OS. It's part of the Rocket Ported Tools suite. It's uses
>enhanced ASCII like all of the ported tools.
>
>>> I am almost 100% sure that ISPF only supports conversion from 1047. I'm
>>> going to ask IBM.
>>>
>> And automatic conversion may deceive you.  IBM fixed "od" by APAR
>> to not convert automatically by default.  I'd be only slightly surpriseed
>> if the bug slipped back in.
>>
It used to be better.  Enhancements to automatic conversion probably
broke something.  And if Vim uses Enhanced ASCII and relies on
automatic conversion, it adds another untrustworthy layer.  But you might
ask Rocket.

You might FTP your ASCII file, BINARY, to desktop and play with it with
Vim and "od" there.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to