?
avatar ketihar
ketihar
6 Jul 2017

Steps to reproduce the issue

Create one contact
Create a mail custom field for example one list custom field and put values with non latin characters (i used Greek characters like "Διαμονή")
Try to sent email from contact form on frontend

Expected result

The email has non latin characters support and shows all greek words right

Actual result

There is no support for non latin characters. As you can see on my picture

System information (as much as possible)

PHP screen shot 2017-07-06 at 11 00 14Linux Charis-Hosting 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64
5.5.55-0ubuntu0.14.04.1-log
utf8_general_ci
utf8mb4_general_ci
PHP 7.0.20
Apache/2.4.25 (Unix) OpenSSL/1.0.1f
PHP fpm-fcgi
Joomla! 3.7.3 Stable [ Amani ] 4-July-2017 08:03 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Additional comments

When non latin characters are used on contact mail custom fields, the email that sent has no non latin characters support

avatar ketihar ketihar - open - 6 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jul 2017
avatar infograf768
infograf768 - comment - 6 Jul 2017

can you add here screen shots of the custom field itself in order to test exactly

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Jul 2017
Status New Information Required
avatar ketihar
ketihar - comment - 6 Jul 2017
avatar infograf768
infograf768 - comment - 6 Jul 2017

I confirm the issue. I guess List does automatically translate Values to html entities, which is wrong in this case as it is correctly saved as utf8 (uencoded) in the db.

avatar infograf768
infograf768 - comment - 6 Jul 2017

@laoneo @Bakual
Can you look at this?

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Jul 2017
Status Information Required Discussion
avatar infograf768
infograf768 - comment - 6 Jul 2017

By taking off the htmlentities() in
https://github.com/joomla/joomla-cms/blob/staging/plugins/fields/list/tmpl/list.php#L31
i.e. replacing by echo implode(', ', $texts);
it solves the issue here.

But I guess we should rather have a specific code when list is used with mail.

avatar infograf768
infograf768 - comment - 6 Jul 2017

wow, that goes much further:
If I use text instead of list, I have the same issue.
There too it uses htmlentities()

avatar infograf768 infograf768 - change - 6 Jul 2017
Title
When non latin characters are used on contact mail custom fields, the email doesn't support those characters
[com_fields] When non latin characters are used on contact mail custom fields, the email doesn't support those characters
avatar infograf768 infograf768 - edited - 6 Jul 2017
avatar infograf768
infograf768 - comment - 6 Jul 2017

will make patch

avatar infograf768
infograf768 - comment - 6 Jul 2017

Please test #17005

avatar infograf768 infograf768 - change - 6 Jul 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-07-06 16:34:24
Closed_By infograf768
avatar infograf768 infograf768 - close - 6 Jul 2017

Add a Comment

Login with GitHub to post a comment