Skip to content

E-Mail subject not showing "ü" german Umlaute #15620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KM-HM opened this issue May 31, 2018 · 59 comments
Closed

E-Mail subject not showing "ü" german Umlaute #15620

KM-HM opened this issue May 31, 2018 · 59 comments
Assignees
Labels
Component: Bundled Extension Issue is caused by one of the bundled extensions Event: mhlej18 Event: mm19in Event: squashtoberfest good first issue help wanted Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release

Comments

@KM-HM
Copy link

KM-HM commented May 31, 2018

Preconditions

  1. Magento Version 2.2.4 installed via composer
  2. PHP 7.0.30-0ubuntu0.16.04.1
    (3. My magento has this module https://github.com/magepal/magento2-gmail-smtp-app)

Steps to reproduce

  1. Create a e-mail template containing a "ü" (üäö german stuff) in the subject
  2. Create an Order to get the E-mail
  3. View the email in outlook (web.de was also reported to me)

Expected result

  1. E-mail subject should display the "ü" like it was authored

Actual result

  1. E-mail subject shows "?" question mark in the same position as the "ü" should be

I resolved this issue by creating a plugin for Magento\Email\Model\Template method getSubject/afterGetSubject with utf8_encode($result) to UTF-8 encode the result.
This seems to be working for now.

Note for the module mentioned in the preconditions:
https://github.com/magepal/magento2-gmail-smtp-app
This module was installed before I upgraded to Magento 2.2.4 from 2.1 and there were no issues with the encoding of the subject line

Also the System does not retrieve the subject line when opening the email template.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label May 31, 2018
@magento-engcom-team magento-engcom-team added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed help wanted good first issue mm18nl labels Jun 1, 2018
@okorshenko okorshenko removed the mm18nl label Jun 5, 2018
@ymarc77
Copy link

ymarc77 commented Jun 15, 2018

I noticed this same problem… Any diacritics in the subject line is converted to "?".

@KM-HM
Copy link
Author

KM-HM commented Jun 15, 2018

@ymarc77 Tell as your Magento version please

@ymarc77
Copy link

ymarc77 commented Jun 15, 2018

Magento 2.2.4, noticed on 2.2.3 too.

@KM-HM
Copy link
Author

KM-HM commented Jun 15, 2018

Did you recently Upgrade to 2.2.X ?

The Magento instance I'm working on was only affected when I upgraded to 2.2.4 from 2.1.x

@ymarc77
Copy link

ymarc77 commented Jun 15, 2018

No. I migrated from 1.8.1 to 2.2.1, then updated to 2.2.2 and 2.2.3.

@mhauri mhauri assigned mhauri and unassigned mhauri Jun 16, 2018
@kkrieger85
Copy link

#mhlej18

@magento-engcom-team
Copy link
Contributor

@kkrieger85 thank you for joining. Please accept team invitation here and self-assign the issue.

@kkrieger85
Copy link

@magento-engcom-team give me 2.2.4 instance

@magento-engcom-team
Copy link
Contributor

Hi @kkrieger85. Thank you for your request. I'm working on Magento 2.2.4 instance for you

@magento-engcom-team
Copy link
Contributor

Hi @kkrieger85, here is your Magento instance.
Admin access: https://i-15620-2-2-4.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@kkrieger85
Copy link

I cannot not reproduce this issue with Vanilla Magento 2.2.4

@kkrieger85
Copy link

E-Mail template:
bildschirmfoto 2018-06-16 um 11 46 49

Settings:
bildschirmfoto 2018-06-16 um 11 49 31

Order email (opened in Airmail3)
bildschirmfoto 2018-06-16 um 11 49 45

Order email (opened in Gmail, webmail)
bildschirmfoto 2018-06-16 um 11 52 00

@kkrieger85
Copy link

E-Mail source:

Subject: Für völligen Spaß Your Main Website Store order confirmation

@okorshenko
Copy link
Contributor

Hi @kkrieger85 thank you for your research and investigation the issue

@ghost
Copy link

ghost commented Jun 29, 2018

I'm experiencing the same thing.

I've recently updated from 2.1.9 to 2.1.12 then 2.20 and 2.2.5:

admin:
screen shot 2018-06-29 at 13 10 46

on my email:
screen shot 2018-06-29 at 13 12 14

Should be "Pedido de notificação"

Another issue I'm facing, every time I open the template the subject is gone.

@ymarc77
Copy link

ymarc77 commented Jul 3, 2018

I didn't find a solution, I'm disappointed with this error…

@rosen4o
Copy link

rosen4o commented Jul 9, 2018

Same issue after update to 2.2.5
Some filter is run on this variable content but can't find which and how to prevent it
I have checked into the database and all data is stored correctly but it's not visualized on template edit and also on send correctly

@jaykobi
Copy link

jaykobi commented Jul 18, 2018

Same issue after update to 2.2.5

This issue realy should be reopened! Mentioned also here #8094

@milindsingh
Copy link
Member

#20384

@RahulKachhadia
Copy link
Member

Ready to work on this issue at #mm19in

@magento-engcom-team
Copy link
Contributor

Hi @rahul-kachhadiya. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:

  • 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

@RahulKachhadia
Copy link
Member

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @rahul-kachhadiya. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @rahul-kachhadiya, here is your Magento instance.
Admin access: https://i-15620-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@magento-engcom-team
Copy link
Contributor

Hi @ananth-iyer. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

  • 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

@ananth-iyer
Copy link
Member

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @ananth-iyer. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @ananth-iyer, here is your Magento instance.
Admin access: https://i-15620-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@ananth-iyer
Copy link
Member

@magento-engcom-team This issue requires email sending service enabled. Can you help me with this?

@ananth-iyer
Copy link
Member

@magento-engcom-team give me 2.2-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @ananth-iyer. Thank you for your request. I'm working on Magento 2.2-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @ananth-iyer, here is your Magento instance.
Admin access: https://i-15620-2-2-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@ananth-iyer
Copy link
Member

@magento-engcom-team @kemexyz This issue is only in 2.2-develop instance. While testing on local 2.2 instance I found that MySQL is returning correct german character ü but Magento PHP code is converting "ü" to "?". So will check which file is required for 2.2 version when I get free.

@zaietsv
Copy link

zaietsv commented Feb 7, 2019

@magento-engcom-team @kemexyz This issue is only in 2.2-develop instance. While testing on local 2.2 instance I found that MySQL is returning correct german character ü but Magento PHP code is converting "ü" to "?". So will check which file is required for 2.2 version when I get free.

You need only to update a Dotmailer module to last versions. They have declared a fix six months ago.

@zaietsv
Copy link

zaietsv commented Feb 7, 2019

Hereby they've released the fix for this in v3.0.2 with this commit: 635a62c dotmailer/dotmailer-magento2-extension#517 (comment)

@ananth-iyer
Copy link
Member

ananth-iyer commented Feb 8, 2019

@zaietsv Thank you for pointing it out the release commit. But I tried to update Dotmailer but I got composer error:
2019_02_08_dotmailer_composer_update

After that I copied the fixes in Magento 2.2 then edited email template on admin & tested email send. And found it showing german letter in email subject & body.
@kemexyz If you are unable to update Dotmailer then I would suggest upgrade to Magento 2.3.0 OR you can check other options to get fixes on your Magento 2.2.

EDITED
Because this issue is from third-party extension Dotmailer version 2.6.0 & If you are not using this extension then can disable it right away. So it will fix german letter issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bundled Extension Issue is caused by one of the bundled extensions Event: mhlej18 Event: mm19in Event: squashtoberfest good first issue help wanted Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release
Projects
None yet
Development

No branches or pull requests