I updated the Digests 3.3.3 extension to 3.3.18
The email author name no longer seems to accept UTF-8 accented characters. In the general configuration menu I want to put "Résumé" in French, but it doesn't work. The field is fill with "R??sum??", and the same appears in emails.
Is there a particular process that I missed?
I installed the language packages fr, es, de and ch corresponding to this version.
Support for UTF-8 accented characters for email name - Digests
-
- Registered User
- Posts: 2
- Joined: Wed May 31, 2023 8:41 am
- Name: Raphaël Koschig
Re: Support for UTF-8 accented characters for email name
You are asking a question I don't have an answer to. Sending "correct" emails is something of a black art. Digests should have email headers that assert the content contains UTF-8, but it probably only applies to the body of the email and not email addresses. I have never tested for using UTF-8 accented characters in the email author field.
It's been my opinion that phpBB's emailing system needs reengineering and I hope that gets tackled in phpBB 4.0. It's really quite clunky and is missing surprising features, like sending HTML. The extension addresses the issue, but only for digests.
I found this online which may be of some help:
https://en.wikipedia.org/wiki/Unicode_and_email
The language pack used by the board should not make a difference.
It's been my opinion that phpBB's emailing system needs reengineering and I hope that gets tackled in phpBB 4.0. It's really quite clunky and is missing surprising features, like sending HTML. The extension addresses the issue, but only for digests.
I found this online which may be of some help:
https://en.wikipedia.org/wiki/Unicode_and_email
The language pack used by the board should not make a difference.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: Support for UTF-8 accented characters for email name
Thank you very much for you answer
!
What bother me is that it's not in the sending process that the author field is not accepting accented characters, but in the field itself in the extension settings. When I put "Résumé" in the field, then save the configuration, the value change to "R??sum??". When the email is sent, the value of author is already mistaken.
So, I think the problem is at the saving process of the value.

What bother me is that it's not in the sending process that the author field is not accepting accented characters, but in the field itself in the extension settings. When I put "Résumé" in the field, then save the configuration, the value change to "R??sum??". When the email is sent, the value of author is already mistaken.
So, I think the problem is at the saving process of the value.
-
- Registered User
- Posts: 2
- Joined: Wed May 31, 2023 8:41 am
- Name: Raphaël Koschig
Re: Support for UTF-8 accented characters for email name
Not sure this will work but HTML <form> tags can have an accept-charset="utf-8" attribute. You might want to add it to the form, i.e.
to:
After making the change, purge the cache and see what happens.
/adm/style/acp_digests.html
line 93 from:Code: Select all
<form id="{% if S_EDIT_SUBSCRIBERS %}acp_digests{% else %}digests{% endif %}" method="post" action="{{ U_ACTION }}"{% if S_EDIT_SUBSCRIBERS %} novalidate{% endif %}>
to:
Code: Select all
<form id="{% if S_EDIT_SUBSCRIBERS %}acp_digests{% else %}digests{% endif %}" method="post" action="{{ U_ACTION }}"{% if S_EDIT_SUBSCRIBERS %} novalidate{% endif %} accept-charset="utf-8">
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA