Looking for protocol expertise that some here might have … I understand that email header content should contain 7-bit ASCII-only. However, as an implementor of email software such as a milter, how do I best deal with non-conforming input?
Say I receive a header line in my milter that isn’t ASCII-only, what is the most sensible (standards-compatible?) decoding I should apply – Latin1? UTF-8? What works best with real email traffic? Please ignore if this is completely off-topic here. Thank you. -- David