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
Problem:
The charset parameter is not processed correctly. Towards the end of the function a couple of special characters are replaced in a dedicated way. This must not be done if the text is UTF-8 encoded. Unfortunately this is checked for the capital letter variant 'UTF-8'. In my case the character set came in as 'utf-8' which consequently destroyed the content of the body text.
Solution:
Modify the check to be case insensitive:
// And its 1252 variants
if (strcasecmp($charset, 'UTF-8') !== 0)
The text was updated successfully, but these errors were encountered:
File / function:
EmailFormat.class.php:365 / _clean_up()
Problem:
The charset parameter is not processed correctly. Towards the end of the function a couple of special characters are replaced in a dedicated way. This must not be done if the text is UTF-8 encoded. Unfortunately this is checked for the capital letter variant 'UTF-8'. In my case the character set came in as 'utf-8' which consequently destroyed the content of the body text.
Solution:
Modify the check to be case insensitive:
The text was updated successfully, but these errors were encountered: