On Sat, 3 Jan 2026 02:25:18 +0000, Farley, Peter  wrote:

>Addendum: In character and hex on a 3270 terminal, your MOVE (broken into two 
>parts to fit in an 80-byte record with COBOL format) would look like this 
>(each of the non-Romance-character words are two bytes per character):
>    ...
In <https://www.ibm.com/docs/en/zos/3.2.0?topic=data-working-utf-8>
    To activate the UTF-8 editing facility for a PDS member  or data set
    select 2 (UTF8) for the Data Encoding option on the edit entry panel. 

Did you do that?  It's only fair since the data of greater interest
are UTF-8.


>000109            MOVE U'Latin, JØJaJccJ½c}Ý}½, español, français, '
>       44444444444DDEC4E7D8A8964D8D8D88DB8DBDB648A98499648989488A6474
>       00000000000465504D31395B010111331830A08B05271963B069158192B0D0
>---------------------------------------------------------------------
>000110              TO UtF-8-STRING
>       4444444444444ED4EAC6F6EEDCDC4444444444444444444444444444444444
>       00000000000003604360802399570000000000000000000000000000000000
>---------------------------------------------------------------------
>000111            MOVE U'Latin, ónó¨ó¨ó¼ó]ó¾óÝóÐ, PsO©PjPyO©PrP¡. '
>       444444DDEC4E7D8A8964C9CBCBCBCBCBCBCA64DADBD9DADBD9DA4474444444
>       000000465504D31395B0E5EBEBE7EDE9EAECB07264717864797AB0D0000000
>---------------------------------------------------------------------
>000112              TO UtF-8-STRING
>       4444444444444ED4EAC6F6EEDCDC4444444444444444444444444444444444
>       00000000000003604360802399570000000000000000000000000000000000
>
>I don’t know of any terminal emulator that lets you type or even paste those 
>UTF-8 characters, but if you could that’s what it would look like.  Maybe if 
>the emulator allows CCSID’s other than EBCDIC to be typed?  Not sure that is 
>available.

If I set my terminal emulator to Russian CCSID, it dhows Latin and Russian 
plainly.
Other languages are garbled.

And the hex doesn't line up correctly.

I worked with UNIX files tagged 1208.  ISPF recognizes
the CCSID automatically.

-- 
gil

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

Reply via email to