On Sat, 21 Dec 2024 12:20:25 -0600, Lionel B Dyck wrote: >------------------------- > >All shell and utilities must respect the code page tag on all files. > "All"? some utilities are by design wisely exempt from autoconversion. These include od, cksum, iconv, and others.
would it rely on autoconversion? Would it be limited to ISO8859-1 and IBM-1047? What about UTF-8, which abounds on desktops and web pages? Would it be affected by locale settings? On my desktop I see, e.g.: 504 $ echo aπz | sed -E 's/(.)(.)(.)/1 \1 2 \2 3 \3 /' 1 a 2 π 3 z 505 $ 505 $ echo aπz | LC_CTYPE=en_US.ISO8859-1 sed -E 's/(.)(.)(.)/1 \1 2 \2 3 \3 /' 1 a 2 ? 3 ? z 506 $ -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
