must pass a unicode string (u’string'). Failure to do so will result in a raised exception.
message = folder.CreateMessage(0)
s = 'some string from XML lib'
message.SetProps([SPropValue(PR_SUBJECT_W, s.decode('utf-8'))]);not change for the upcoming unicode version. Python programs written for Zarafa 6.30 or 6.40 will work unchanged on 7.00.