On Wed, 9 Feb 2022 08:45:19 +0800, David Crayford wrote:

>On 8/2/22 11:06 am, Paul Gilmartin wrote:
>>>     ...
>>> The characters are supported in all code pages. They are just in the
>>> wrong code-point when translating between IBM-273 and ISO8859-1. I have
>>> formed the opinion that the ISPF editor does no honor code pages
>>> and only supports translation between IBM-1047 <-> ISO8859-1.
>>>
>> The ISPF editor does much better than that. But, in general, it's 
>> complicated:
>> <https://www.ibm.com/docs/en/zos/2.5.0?topic=commands-using-automatic-code-set-conversion>
>>  
>
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>

>I don't think it does. I just edited a ISO8859-1 tagged file using 037
>and inserted square brackets [].
>
What did ISPF HEX display  show for the "[]"?  What codes did
"od -tx1" on z/OS show after you Saved the file?

>    ... When I edited the file using Vim the
>square brackets had not been translated correctly.
>
On what platform did you run Vim?  How did you transfer the file?
(FTP? IND$FILE? ...)  What did "od -tx1" on that platform show as the []"?

>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.

-- 
gil

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

Reply via email to