On Sun, 9 Feb 2020 23:39:38 -0600, Mike Schwab wrote: >EBCDIC, EBCDIC DBCS, UTF-16, and ASCII all require the user to know >the code page for the data set. ... > Practically, no. A typical modern system has a ubiquitous default Unicode page and most editors, shells, interpreters, compilers, and utilities are savvy to this to the extent necessary. This is transparent to a naive user and welcomed by a sophisticated user,
So: 682 $ echo "'uname -s'; say '$LANG: Привет שָׁלוֹם bonjour'" | tee foo 'uname -s'; say 'en_US.UTF-8: Привет שָׁלוֹם bonjour' 683 $ 683 $ rexx foo Darwin en_US.UTF-8: Привет שָׁלוֹם bonjour Difficulties arise with format specifications. Full disclosure: I didn't get my sample right on the first try. But it would have been harder with DBCS, TSO READY prompt, and COBOL. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
