diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7e748d499..64db052b3 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -3,6 +3,8 @@ * src/plugins/WriteGedcom.py: Switch from radiobuttons to menu for the encoding choice. * src/plugins/gedcomexport.glade: Clean up interface. + * src/plugins/ReadGedcom.py (GedcomParser.__init__): Use + universal newline mode to work with Mac newlines. 2004-07-11 Don Allingham * src/FamilyView.py: handle deleting of parent properly diff --git a/gramps2/src/plugins/ReadGedcom.py b/gramps2/src/plugins/ReadGedcom.py index d0bdc9d17..11663d897 100644 --- a/gramps2/src/plugins/ReadGedcom.py +++ b/gramps2/src/plugins/ReadGedcom.py @@ -220,7 +220,7 @@ class GedcomParser: self.is_ftw = 0 self.idswap = {} - self.f = open(file,"r") + self.f = open(file,"rU") self.filename = file self.index = 0 self.backoff = 0