I'm not sure what you mean by "Interestingly, MacOS supports UTF-8 filenames but prohibits ISO-8859 names which are not valid UTF-8." UTF-8 is just an encoding of Unicode, not a character set. For a valid UTF-8 string, every octet must be less than '80'X except for the introducers for code points above '7F'X and for UTF-8 tails..
'C0'X is a valid ISO 8859-1, representing the same glyph as a Unicode U+00C0 À LATIN CAPITAL LETTER A WITH GRAVE. However, the UTF-8 encoding of 'C0'X is 'c3 80'X. C0 is not a valid UTF-8 introducer, so it is only allowed in a tail. Does /u00c0 work on MacOS? ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Sunday, July 9, 2023 11:41 AM To: [email protected] Subject: Re: Editor (was: Code Page for dataset names) On Sun, 9 Jul 2023 09:29:06 -0500, Joel C. Ewing wrote: > ... >As to the possibility of migrating a tool like jedit to z/OS. Yeah, I've >had similar wishes as java is supposed to be portable -- but surely >that's still limited by what the Operating System supports. > I mentioned jedit because it's coded in Java and I believe z/OS java supports X1 for remote displays. I've never tried it. Interestingly, MacOS supports UTF-8 filenames but prohibits ISO-8859 names which are not valid UTF-8. I don't know how this complies with UNIX branding: 1668 $ touch $( printf '\300' ) touch: ?: Illegal byte sequence 1669 $ Windows is handicapped by case-insensitivity even though NTFS is case-insensitive. Cygwin provides instructions to modify Registry to disable case-insensitivity. It sorta works. Cygwin can create files in NTFS with names differing only in case. Explorer shows them all. But when I click on one, it's unpredictable which opens. An example of jedit running on one OS and displaying via X11 on another. (Neither is z/OS): On my desktop, I can see: Latin, русский, español, français, Ελληνικά, לטינית. Do others see likewise on their desktops? What does anyone using a 327x see? Could they do as well with any model 327x? -- 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
