How about that:
https://www.ibm.com/docs/en/cobol-zos/6.5.0?topic=literals-utf-8
Its available in earlier releases.
Denis.
    On Monday, January 5, 2026 at 08:10:15 PM GMT+1, Phil Smith III 
<[email protected]> wrote:  
 
 Right, that's why I was joking. Maybe:
    PIC UTF8(6) VALUE U+0445U+043EU+0440U+043EU+0448U+043E.

Still fugly but unambiguous and it'd work.

But I suspect at this point we're solving a problem nobody REALLY has.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Monday, January 5, 2026 1:29 PM
To: [email protected]
Subject: Re: Please vote for COBOL "idea" for reverse character translation

On Mon, 5 Jan 2026 12:47:47 -0500, Phil Smith III wrote:

>Right, need a UTF8 data type:
>    PIC UTF8(6) VALUE 'хорошо'.
>...or something like that. 
>
>(Yes, I'm sorta/mostly kidding)
>    ...
Did you do that on a 327x, perhaps with CP 880?
The problem occurs when you add a third language or any two other than English/

I believe Peter mentioned the necessary PIC.

--
gil

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

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

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

Reply via email to