[Top][All Lists]

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

Re: z/OS, iconv, and gperf

From: Bruno Haible
Subject: Re: z/OS, iconv, and gperf
Date: Mon, 20 Jan 2020 01:13:18 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; )

Daniel Richard G. wrote:
> But what good will that do, if the (ASCII-consuming) gperf code receives
> e.g. the EBCDIC form of "ISO-8859-1"? "#pragma convert" only works at
> compile time, not run time.

OK, then we'll need
  a) for the short-term: in lib/iconv_open.c, apply an EBCDIC -> ASCII
     conversion to the 'from' and the 'to' strings. Can you implement that?
     And also a rule that removes the anti-EBCDIC guard from the gperf
     generated output (in modules/iconv_open).
  b) a feature request for the 'gperf' program, to generate two code
     bodies, one for ASCII and one for EBCDIC.


reply via email to

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