pyexchange
pyexchange copied to clipboard
UnicodeEncodeError in ntlm3\des.py
Hi,
I have successful been using pyexchange for retrieving calendar items from my company server. The last successful test was several months ago. But yesterday I got this error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)
I am using Python 2.7.12 |Anaconda 2.2.0 (32-bit) I enter all relevant parameters as unicode.
It is trying to return a unicode character as an ascii character. You will need to do something along the lines of unicode-variable.encode('utf8')
in order to get the data.