We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Chinese and Japanese characters in emails

Development and Programming

cranacsystems's avatar
cranacsystems
35 posts
2 years ago
cranacsystems's avatar cranacsystems

I have been using Freeform EE for a long time and its working just fine. Recording any kind of characters from form submissions. I can see them in the CMS, in the Database, all looks good.

But I have a client whose Microsoft email setup can’t render the notification emails. I’m trying to figure out if I’m doing something wrong. What’s puzzling is that I tested the emails, opened them with Google mail, Apple mail, a few webmail services, and even with Microsoft Outlook both online and MacOS client, iOS client. They all rendered the characters properly.

If I copy the text into an email and send it to them they can see it properly. They in fact write emails in Chinese and Japanese and it all works for them.

Only when they receive the notification from the EE site they see complete gibberish.

The DB is utf8_general_ci

This is the notification email:

<!DOCTYPE html> <html > <head> <meta http-equiv=”content-type” content=”text/html; charset=UTF-8”> <meta name=”viewport” content=”width=device-width”> <title>Submission made through your Contact form</title> </head> <body> Hello, There has been a submission made through your Contact form: <ul> {form:fields} <li>{field:label}: {field:value}</li> {/form:fields} </ul> Submission Date: {date_created format="%l, %F %j, %Y at %g:%i%a"} Cheers </body> </html>

Any advice is appreciated! L.

       
trudyhines's avatar
trudyhines
1 posts
one year ago
trudyhines's avatar trudyhines

Hello, I think you should check Email Encoding. Make sure that the email encoding is set to UTF-8, both in the email template and in the email headers. The email template you provided includes a meta tag for UTF-8 encoding, which is a good start. Verify that the email headers also specify UTF-8 encoding. Ensure that the encoding is consistent throughout the email template.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.