gbv / Catmandu-PICA

Catmandu modules for working with PICA+ data
https://metacpan.org/release/Catmandu-PICA
Other
4 stars 4 forks source link

Catmandu::Importer::PICA with windows line endings #38

Open cKlee opened 7 years ago

cKlee commented 7 years ago

Importing a plain PICA record with Windows line endings (CR LF) gives me something like:

{
   "_id" : "67890\r",
   "record" : [
      [
         "003@",
         "",
         "0",
         "67890\r"
      ]
   ]
}]

with spare \r. Are PICA records expected to have Unix line endings?