Humbedooh commented on issue #463:
URL: 
https://github.com/apache/incubator-ponymail/issues/463#issuecomment-679047423


   Currently, the decoding tries to use all possible character sets found in 
the message, not necessarily ones pertaining to the body itself. It also 
assumes that the default is UTF-8. Both are IMHO wrong, and are handled 
differently in Foal:
   
   - US-ASCII should be assumed default as per RFC822. All other character sets 
MUST be accompanied with a Content-Type encoding sub-header.
   - Only the message part or its parent should be looked at for character 
sets, and parent should only be fallback if the message part does not have a 
valid encoding sub-headeer.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to