| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
A Ruby tool to convert IBM EBCDIC Datasets to Unicode Files
Find feasabile Storage format
An Array of Integers representing the Unicode Codepoints. The Array Index corresponds to the Byte index in the Codepage. And is serialized with YAML
Refactor the wikipedia parsing code into a seperate class
Add more parsers
-f/--file or -I/--install are required!
-c/--ccsid specifies the Codepage
$ bundle exec ruby ebcdic_decode.rb -f <INPUT_DATASET> -c 1047 -recfm FB -lrecl 80 -o <OUTPUT_FILE>
This would be a general use-case. Since it is so common, if not specified, RECFM will default to FB and LRECL to 80
$ bundle exec ruby ebdcic_decode.rb -I http://en.wikipedia.org/wiki/EBCDIC_500 -e 1148
In case of the -I option the -e option specifies the CCSID of the Euro(€) update of the character set. If it is set, another map will be created alongside the one specified with the url. The only difference will be the name and byte 0x9F will be set to "\u20AC" (€ symbol)
| Back | FazBrowse Home | New Git URL |