You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I erroneously receive an email with Content-Type: text/html; charset=ISO-8859-1 header and <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">, and therefore the special chars are broken.
The interesting part now is when adding an attachment (following code), the HTML charset is now suddenly correctly set to UTF-8 in the header and <meta> tag!
I'm using the following code:
But I erroneously receive an email with
Content-Type: text/html; charset=ISO-8859-1
header and<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
, and therefore the special chars are broken.The interesting part now is when adding an attachment (following code), the HTML charset is now suddenly correctly set to UTF-8 in the header and <meta> tag!
Can somebody tell me if I'm doing anything wrong with the UTF-8 encoding or is this a bug?
The text was updated successfully, but these errors were encountered: