bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion fr


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] difference in iconv for EBCDIC SBCS conversion from z/OS OS-provided iconv
Date: Mon, 03 Apr 2023 12:25:54 +0200

Mike Fulton wrote:
> Would it be possible to have either a compile-time configuration option
> like PCRE
> or an environment variable that we could have in the official code so that
> we don't
> end up with 2 copies of the code?

Indeed, there are dangers if the upstream and the downstream code diverge
too much.

I have thus implemented the environment variable approach:
https://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=commit;h=19b6af5e5efe306bc1b2da87ba054b7391360ca2

> I really don't want z/OS to be
> 'different' and would
> like things to 'just work' for customers.

Your users will have set the ICONV_EBCDIC_ZOS_UNIX environment variable,
if and only if they work on files generated for/from the "z/OS Unix
System Services" (quoting the Unicode Standard, chapter 5).

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]