Fix of issue 3865.
svn: r15236
This commit is contained in:
		| @@ -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)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user