Fix of issue 3865.

svn: r15235
This commit is contained in:
Peter Landgren 2010-04-19 13:49:49 +00:00
parent def3e1f1c1
commit 4c1b073dac

View File

@ -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))