From f32a09205792a155c3ed42a98aa5dafea37c725f Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 19 Apr 2010 13:53:43 +0000 Subject: [PATCH] Fix of issue 3865. svn: r15236 --- src/plugins/export/ExportGedcom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/export/ExportGedcom.py b/src/plugins/export/ExportGedcom.py index d0b16cfab..d2ac09a8a 100644 --- a/src/plugins/export/ExportGedcom.py +++ b/src/plugins/export/ExportGedcom.py @@ -44,7 +44,7 @@ import libgedcom import Errors from ExportOptions import WriterOptionBox from gen.updatecallback import UpdateCallback -from Utils import media_path_full +from Utils import media_path_full, get_unicode_path import gen.proxy from QuestionDialog import ErrorDialog from PlaceUtils import conv_lat_lon @@ -329,6 +329,8 @@ class GedcomWriter(UpdateCallback): textlist = textlines.split('\n') token_level = level for text in textlist: + # make it unicode so that breakup below does the right thin. + text = get_unicode_path(text) if limit: prefix = "\n%d CONC " % (level + 1) txt = prefix.join(breakup(text, limit))