Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeEncodeError in ntlm3\des.py #73

Open
MarcelBreuers opened this issue Aug 19, 2016 · 1 comment
Open

UnicodeEncodeError in ntlm3\des.py #73

MarcelBreuers opened this issue Aug 19, 2016 · 1 comment

Comments

@MarcelBreuers
Copy link

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.

@fedorareis
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants