fire-eggs / YAGP

"Yet Another GEDCOM Parser" - newer/faster/complete GEDCOM parser in C#
Apache License 2.0
9 stars 3 forks source link

Mixed LF / CRLF causes confusion #45

Open fire-eggs opened 6 years ago

fire-eggs commented 6 years ago

I've now encountered a couple of GED files with mixed EOL. A good example is PDR.GED - the header has LF but the first record has CRLF.

The CRLF causes the parser to get confused and fails to recognise the record types. The output from the writer appends a NUL thanks to the CR.

see 01\PDR.ged