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.

Bruno


Reply via email to