Skip to content
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

reader: support more formats #111

Open
adamdecaf opened this issue Aug 12, 2020 · 0 comments
Open

reader: support more formats #111

adamdecaf opened this issue Aug 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@adamdecaf
Copy link
Member

adamdecaf commented Aug 12, 2020

What were you trying to do?
There are several "microformats" of X9 files and vendors. These vary with prefix words, character encoding, image formats, and others. Ideally our ICL library would handle parsing all these formats. The reader could be restricted to a specific, but always report which format was used to parse the file.

What did you expect to see?
On Reader we should have a Format enum which by default is Discover and could hold other values (such as X9100, X9137, etc..).

Adding (r *Reader) SetFormat(value Format) and a Format member on File that the reader populates.

@adamdecaf adamdecaf added the enhancement New feature or request label Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant