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
Encoding issue #36
Encoding issue #36
Conversation
Current coverage is 61.63%@@ develop #36 diff @@
==========================================
Files 3 3
Lines 318 318
Methods 0 0
Messages 0 0
Branches 71 71
==========================================
Hits 196 196
Misses 91 91
Partials 31 31
|
Looks like the approach I take is python-2 incompatible. Any ideas on how to port this @kdeldycke? |
Isn't it because In which case you should try to hard. Let's revert to the old behaviour for Python 2. What do you think? |
FYI, I've reverted to your previous behaviour in c96c027 for tests to pass in Python 2. Can you try to rebase this PR on top of the |
@kdeldycke Thanks heaps. I've rebased and pushed. |
Thanks. Tests still not passing though... :( Is there a reason to not keep using the |
Ah, not really, other than that it kept raising |
Sorry to be skeptical, it's just that it feels like the issue is a So here is what I propose: if you can isolate one message triggering a |
Handling of unparseable email has been added in #47, which supersedes and invalidates half of this PR. As a result, and because it's currently un mergeable as-is, I'll close this PR for now. Sorry @kdmurray91. :( That being said, your effort was not vain as I pointed to your code in #46 as a possible way to enhance parsing of badly encoded mails. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi @kdeldycke
Since the changes we made yesterday I have been able to analyse a bigger set of my maildir. It appears that we missed a few encoding issues. The attached seems to fix them, but checking this on another test-set (specifically a non-English maildir) would be wise.
Cheers,
K