Sorry about that, I just pasted your text into an ISPF edit session with my regular CCSID=1047 terminal setting and manually typed in the correct hex double-byte values for the Russian, Greek, and Hebrew text.
Bad example. I should have opened a new terminal session with a UTF-8 CCSID to do it the right way. My point was that in hex in an ISPF edit session you should see two vertical hex characters for each of those UTF-8 characters, just like the horizontal hex at the bottom of your post. Peter From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Saturday, January 3, 2026 1:04 AM To: [email protected] Subject: Re: Please vote for COBOL "idea" for reverse character translation 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://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/3.2.0?topic=data-working-utf-8__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Ip6CsppXUT9lXq6ksD8Rr2B_-IGqBhFfk9Mcajy4w1QGOKvc6xwXrn98FlJmCzhF3uoWIfCdoXX7QVtUlz5BhsgBgGvyR1f1JXB2vjmO$> 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. -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
