Closed winhamwr closed 10 years ago
Hello,
I tested this fix out with both python 2.7 and python 3.3 and the test suite passes on both. I think this is the best way to handle the possible need for unicode=>bytes conversion in both versions of python, but I'm certainly open to alternatives. Please let me know if there's anything else I can help with to make this PR easier to merge.
Thanks -Wes
@winhamwr it looks like your tests are failing in python 3.2.
Both python 3.2 and python 3.3 are working, now.
Hello, I see the last comment was made on Apr. 24 and no activity since. The problem is still there. Will this fix be merged?
I'm :+1: on getting this merged in
Sorry, I completely lost track of this. Merging now -- thanks for the fix.
If an attachment is added that contains unicode, sending the message fails with a
UnicodeEncodeError
. I have a branch with a failing test:My plan is to treat python2.X like we're currently treating python3 by first converting to bytes.