diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 56a7b4c67..2803ea861 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-12-19 Alex Roitman + * src/PluginUtils/_Options.py (save): Use unicode, not str. + 2006-12-18 Alex Roitman * src/PluginUtils/_Options.py (save): Escape special characters. diff --git a/gramps2/src/PluginUtils/_Options.py b/gramps2/src/PluginUtils/_Options.py index 674707fd2..6ece552eb 100644 --- a/gramps2/src/PluginUtils/_Options.py +++ b/gramps2/src/PluginUtils/_Options.py @@ -206,12 +206,12 @@ class OptionListCollection: for list_index in range(len(options[option_name])): f.write(' \n' % ( list_index, - escape(str(options[option_name][list_index]))) ) + escape(unicode(options[option_name][list_index]))) ) f.write(' \n') else: f.write('