Subject: | Insufficient PurePerl support for EBCDIC |
Date: | Wed, 7 Nov 2018 14:19:56 +0100 |
To: | bug-XML-SAX [...] rt.cpan.org |
From: | Harrie Huzen <harriehuzen [...] hetnet.nl> |
On the IBM mainframe, under Unix System Services (EBCDIC codepage 1047),
parsing xml data fails.
The PurePerl part does not sufficiently support parsing in an EBCDIC
context.
I added support and tested it to the extend of my own purpose, which was
parsing simple xml data using file input.
Please find attached the altered files:
SAX/PurePerl/EncodingDetect.pm
SAX/PurePerl/Productions.pm
SAX/PurePerl/Reader/Stream.pm
SAX/PurePerl/Reader/String.pm
SAX/PurePerl/Reader/UnicodeExt.pm
SAX/PurePerl.pm
I hope it can be useful for others.
Kind regards,
Harrie Huzen
Message body not shown because it is not plain text.