-
Notifications
You must be signed in to change notification settings - Fork 1
Support for IBM037 and IBM1140? #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I am open to including them. |
I published ebcdic branch |
It works as expected with my test cases so far - though to be fair I'm not exercising the encode functionality. Do you have a test suite to build out? I could contribute some files, or maybe you want to encode with iconv / decode with yore? |
I have fixed some bugs in a private branch, will push that shortly. |
I force pushed the ebcdic branch: https://github.com/bonega/yore/tree/ebcdic |
By my count there are four EBCDIC code pages likely to be encountered on the internet, though the comprehensive list of all registered IANA character sets found at https://www.iana.org/assignments/character-sets/character-sets.xhtml lists about 20 EBCDIC codepages.
Most of them are cross-referenced to the code page definitions in https://datatracker.ietf.org/doc/html/rfc1345 (which aggregates many of the original sources into a single reference document).
I'm happy to do this work for the two most common pages (IBM037 and IBM1140) as I am implementing an XML parser, however I don't know if it's something you would want in scope, behind a cargo feature, or segregated into an EBCDIC-specific crate.
The text was updated successfully, but these errors were encountered: