![]() |
|
#1
|
||||
|
||||
|
I seem to see ascii code 11 (hex 0B, aka ctrl-M) as the newline character in GEDCOM files written from Reunion 9. Checking on the web, Apple stopped using this newline character with OS 9, and starting with OS X they use (I think anyway) ascii code 10 (hex 0A, aka ctrl-J).
Can anyone confirm that Reunion 9 is still using the old Apple standard, or if there is an option to set the newline character to the standard one used by OS X. Or have I misunderstood my GEDCOM file contents? -Graham |
|
#2
|
||||
|
||||
|
That's odd. Windows used to use CR + LF for end of lines and Mac used CR. I don't remember either using NL.
|
|
#3
|
||||
|
||||
|
Quote:
Graham is correct that Reunion 9 still uses the "classic Mac OS" line ending (CR) in exported GEDCOM files (as does Reunion 10). The GEDCOM standard says all combinations of CR and LF are acceptable (CR, LF, CR-LF, LF-CR), though I've encountered many genealogy applications that aren't so lenient. Personally, I would prefer to see Reunion export with LF rather than CR, but it's not a big deal. Reunion is not the only holdout in this regard. Text files exported from FileMaker Pro still use CR, too, and it's the default for text files exported from Word. |
|
#4
|
||||
|
||||
|
I'm not sure what you're using to see this; however, no version of Reunion ever used ASCII 11 for a new line.
__________________
Gregg Witmer Leister Productions, Inc. |
|
#5
|
||||
|
||||
|
Yes, I meant decimal 11. Brad gave the clear answer I was looking for. The line feed has to be changed to hex 0A before editing a GEDCOM file with Unix utilities like grep.
-Graham |
![]() |
| ReunionTalk > Newline character in GEDCOM files |
|
|