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

Field-separating newline in multi-line pica records part of subfield value #156

Closed
dmj opened this issue Dec 5, 2013 · 1 comment
Closed
Assignees
Milestone

Comments

@dmj
Copy link

dmj commented Dec 5, 2013

https://gist.github.com/dmj/7116314

In this multi-line pica the fields are separated by newline and field marker 0x1E. PicaDecoder in 1.2.0 creates fields by splitting the record on 0x1E and creates subfields by splitting on 0x1F.

This way the newline at the end of each field is considered to be part of the field's last subfield's value (e.g. not removed by trim()).

@ghost ghost assigned cboehme Dec 5, 2013
@cboehme
Copy link
Member

cboehme commented Dec 5, 2013

please see my comment on issue #155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants