Corregir Errores Windows 11

gh-76511: Fix UnicodeEncodeError in email.Message.as_string()that results when a message that claims to be in the ascii character setactually has non-ascii characters. Non-ascii characters are now replacedwith the U+FFFD replacement character, like in the replace errorhandler.