On Mon, 4 Sep 2017 17:07:08 -0700, Charles Mills ([email protected]) wrote about "Re: UTF-8 woes on z/OS, a solution - comments invited" (in <[email protected]>):
> COBOL or Java, but what about the OP's PL/I? IBM Enterprise PL/I has WIDECHAR(*), which supports UTF-16. It also has the UTF8(), UTF8TOCHAR() and UTF8TOWCHAR() built-in functions that translate host code page to UTF-8, UTF-8 to host code page, and UTF-8 to UTF-16, respectively. These will probably handle UTF-8 translations more reliably than IND$FILE does. The problem is the complexity that was previously hidden is now visibly the province of the programmer. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* [email protected] (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
