I can't comment on what happens on Apple systems. I've never tried it. I chose CP1252 because it seemed to have the greatest coverage for much of western Europe. It also has very close to a one-to-one correspondence with the EBCDIC CP1140.
At the present time I personally am not prepared to go chasing down the implications of switching away from CP1252 on the systems that I have been, and continue to, focus on: X86_64 and aarch64. > -----Original Message----- > From: Iain Sandoe <i...@sandoe.co.uk> > Sent: Friday, March 21, 2025 19:43 > To: Robert Dubner <rdub...@symas.com> > Cc: GCC Patches <gcc-patches@gcc.gnu.org> > Subject: Re: [PATCH] cobol: Address some iconv issues. > > > > > On 21 Mar 2025, at 22:11, Robert Dubner <rdub...@symas.com> wrote: > > > > > So, please, stick with the default 1252 for existing code -- as you > noted, > > changing the page breaks some tests. > > So . like so? > > #if __APPLE__ > "CP1252" > #else > "CP1252//" > #endif > > (I'm not sure what the trailing '//' does on Linux [it's an error on the > macOS iconf impl]) > > thanks > Iain