πŸ‡©πŸ‡ͺGermany @LudwigJP

Account created on 1 September 2021, almost 3 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany LudwigJP

Thank you for your patience.
We tested #7 and it works great.

πŸ‡©πŸ‡ͺGermany LudwigJP

https://www.drupal.org/node/8408 β†’

This article points out that 'utf-8' is the standard charset for all drupal data and should not be changed.

With this information, i think it would actually be better to initialize PHPMailer hard with 'utf-8' and not to add an setting. So all modules can expect that, if not otherwise specified, that all data is processed as 'utf-8'.

I'm not quite sure if the assumption that everything is 'utf-8' unless otherwise specified is universal, but I think other modules don't specify 'charset=utf-8' because it's redundant for them because it's the standard value for them.

The hardcoded 'utf-8' charset would be viable for us. On second thought, I don't think there will be a need to change it to something other than that.

πŸ‡©πŸ‡ͺGermany LudwigJP

Thank you for your quick reply.

That said, I'd be open to setting a default of UTF-8 (as is the case with other headers) while honouring any content-type header. Would this resolve the issue for you?

Yes, that would resolve our problem. Instead of hard-coding to 'utf-8' I added, in my patch, an option to override this setting in the configuration (which installs and defaults to 'utf-8') so a user could change it to a different char set encoding when needed.

Production build 0.69.0 2024