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

>    MOVE U'Latin, русский, español, français, Ελληνικά, עִברִית. '
>           TO UtF-8-STRING
>
What does  that look like in (which) editor?
In compiler SYSPRINT?
Context?

What CCSIDs are involved?

>Where UtF-8-STRING is defined with PIC U(length).
>
>UTF-8 literals in IBM COBOL are U’utf-chars-or-\Unnnn-escapes’.
>
The following (C) program on my desktop Just Works:
523 $ cat  ../source/tinyU.c
#include <stdio.h>
int  main( void ) { printf("Hello, Latin, русский, español, français, Ελληνικά, 
עִברִית.!\n"); }
524 $ 
524 $ make tinyU
cc -I.. -DPROTOTYPES=1 -Wstrict-prototypes  -o tinyU ../source/tinyU.c   -lm 
-lcurses
525 $ 
525 $ ./tinyU
Hello, Latin, русский, español, français, Ελληνικά, עִברִית.!

-- 
gil

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

Reply via email to