Re: [pcre-dev] EBCDIC many faces

Kezdőlap
Üzenet törlése
Szerző: ph10
Dátum:  
Címzett: Ze'ev Atlas
CC: Pcre Exim
Tárgy: Re: [pcre-dev] EBCDIC many faces
On Thu, 19 Oct 2017, Ze'ev Atlas wrote:

> I am weighing my next step after realizing that the special characters
> for pattern cannot really change in runtime while being the most
> abused by IBM. IBM supplys a set of function that allow me to convert
> the input (string and pattern) from whatever EBCDIC codepage to the
> desired one.  But in order not to run it umpteen times I need to put
> it in front of the PCRE so all the functions will see the converted
> strings.  I cannot put the onus on the users as most of them use COBOL
> and are not sophisticated enougj Any advice will be wellcome


I sympathize with your position! It looks as though you can do nothing
other than put the conversion function in front of the PCRE functions,
and also, I suppose, on the output as well, to convert back. Ugh!

Alternatively, could you supply different versions of PCRE2, compiled
with different code pages? Or is this too much extra maintenance?

Philip

--
Philip Hazel