diff options
-rw-r--r-- | client/src/leap/soledad/client/__init__.py | 1 | ||||
-rw-r--r-- | common/changes/bug_4095_add-unicode-conversion-to-put_doc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py index d50dde42..08cae892 100644 --- a/client/src/leap/soledad/client/__init__.py +++ b/client/src/leap/soledad/client/__init__.py @@ -753,6 +753,7 @@ class Soledad(object): :return: the new revision identifier for the document :rtype: str """ + doc.content = self._convert_to_unicode(doc.content) return self._db.put_doc(doc) def delete_doc(self, doc): diff --git a/common/changes/bug_4095_add-unicode-conversion-to-put_doc b/common/changes/bug_4095_add-unicode-conversion-to-put_doc new file mode 100644 index 00000000..bed446ac --- /dev/null +++ b/common/changes/bug_4095_add-unicode-conversion-to-put_doc @@ -0,0 +1 @@ + o Add unicode conversion to put_doc(). Closes #4095. |