Closed thiamsantos closed 1 year ago
In order to add this to the RFC2822 parser we'd need confirmation that this doesn't violate the spec, or even better, it aligns us more closely with it. I don't have availability to review that at the moment but if you found out one way or the other that would be much appreciated!
Motivation
We are receiving some email in which the filenames are not in utf-8. Causing the following exception:
Changes proposed in this pull request
Ignore the unsupported characters when parsing the header value.
Honestly I don't know if the proposed changes make sense to be in the library, probably a proper charset handling as mentioned in #78 would be better.