Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm writing the newsletter template, and nodes to be included in newsletter, with ckeditor, latin UTF8 characters are not encoded to HTML entities as Drupal support UTF8.
Working with newsletter module (tried dev and last stable release) with default drupal sendmail behaviour, latin characters are utf-8 encoded (without need) resulting in a very messy output like from
"le giornate sono più lunghe, le temperature più miti"
to
"le giornate sono più lunghe, le temperature più miti"
.
I can't find where this conversione is done, please help.
Comments
Comment #1
d.sibaud CreditAttribution: d.sibaud commentedPardon, maybe major is too high for this, reverted to normal.
Comment #2
d.sibaud CreditAttribution: d.sibaud commentedComment #3
d.sibaud CreditAttribution: d.sibaud commentedfound the problem:
DomDocument make a utf-8 encoding of the message, to avoid this problem I added the attributes
$dom->substituteEntities = true;
on line 21 of includes/newsletter.mail.inc:Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedThanks,commited it
Comment #6
nuk3dene CreditAttribution: nuk3dene commenteddoes it fix the problem or not? mine is not fixed. i just open includes/newsletter.mail.inc in notepad. add line and saved. but i still Сайн байна ÑÑ? Та манай айÑÐ°Ð°Ñ Ð¼ÑдÑÑлÑл ÑÐ½Ñ Ó©Ð´Ñийн get this error.