Re: [pcre-dev] Printing EBCDIC code page version

Pàgina inicial
Delete this message
Autor: ph10
Data:  
A: Ze'ev Atlas
CC: Pcre Exim
Assumpte: Re: [pcre-dev] Printing EBCDIC code page version
On Sun, 5 Jul 2015, Ze'ev Atlas wrote:

> The original patch missed a piece.  This is the correct one Ze'ev Atlas


>       From: Ze'ev Atlas <zatlas1@???>
>  To: Pcre Exim <pcre-dev@???>; Philip Hazel <ph10@???> 
>  Sent: Sunday, July 5, 2015 4:14 PM
>  Subject: Printing EBCDIC code page version

>
> Hi allI would like to add a functionality under z/OS in which the pcre2test would also print the guessed code page with option -C.  This functionality is confined to the z/OS port only where my function is available.  The guessing process is somewhat extended logic to the process described in the perlebcdic document (I find one more codepage).  My documentation would elaborate on the issue that there is no foolproof way to know, thus:
> IBM1140 = cp037, but could also be (locale) cp424...IBM1047 could be (locale) cp500, cp875, IBM1026...posix-bc is a world unto itselfIBM285 is also a world unto iutself :)
> so please examine the patch
>  Ze'ev Atlas


That's a very small patch, which I am happy to include. I assume the
pcrz_cpversion() function to which it refers is contained in the
pcrzosfs.h file.

Philip

--
Philip Hazel