[PATCH] unicode properties not handled correctly
------------------------------------------------
Key: CMIS-279
URL: https://issues.apache.org/jira/browse/CMIS-279
Project: Chemistry
Issue Type: Bug
Components: python-cmislib
Reporter: Bernhard Reutner-Fischer
model: Be unicode clean
Trying to createDocument(u'abc cdeöäüß%§-_caféè.txt', ...)
throws an error in CmisObject::_getEntryXmlDoc() near str(propValue):
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-10:
ordinal not in range(128)
Also we need to pass down an appropriate encoding to xmlDoc.toxml() to avoid
errors from httplib.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.