From 43cfb600d5923ed6ae0434c98e476653a66d3f43 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 1 Sep 2014 19:06:15 -0700 Subject: [PATCH] 8014: Importing gedcom files containing multibyte UTF-8 characters fails --- gramps/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 222af5d00..d784b96c8 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -7604,9 +7604,9 @@ class GedcomStageOne(object): data = line.split(None, 2) + [''] try: (level, key, value) = data[:3] - value = value.strip() level = int(level) - key = key.strip() + key = conv_to_unicode(key.strip()) + value = conv_to_unicode(value.strip()) except: LOG.warn(_("Invalid line %d in GEDCOM file.") % self.lcnt) continue