Post by OneManShow » Sat Mar 30, 2019 4:37 pm

Hi,

Some time ago I've created a shopping cart for one of my customers using at that time OpenCart version 2.0.3.1.

A day ago, my customer reported outgoing emails for the French language are not encoded properly. I.e. when a new user creates an account an email is sent with the welcome message.

Instead of properly displaying the content and HTML codes properly, it shows as follows:

Votre compte a été créé, vous pouvez désormais vous connecter en utilisant votre adresse courriel et mot de passe à l’adresse suivante :

I'm not sure if the issue arose suddenly of it existed from the day one when the OpenCart was installed. Whatever, the issue is there now...

Mail is sent by mail script, not SMPT.
Language files are encoded as UFT-8

I've already tried a couple of different suggestions however it did not help.

Attached is the file mail.php

Newbie

Posts

Joined
Sun Sep 29, 2013 10:35 pm

Post by IP_CAM » Sun Mar 31, 2019 7:54 am

Search for this in Google:

Code: Select all

"été" Opencart
to find a lot of Answers on such, in french as well as english!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by straightlight » Sun Mar 31, 2019 7:57 am

Without Google search (also sentence correction):
Votre compte d'utilisateur a été créé. Vous pouvez désormais vous connecter en utilisant votre adresse courriel, ainsi de votre mot de passe, à l'adresse suivante :

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OneManShow » Mon Apr 01, 2019 4:39 am

Hi,

Thanks, both for trying to help, unfortunately, link provided IP_CAM did not help, although I'm not sure if this is because of the fact that the provided solution is for OpenCart version 1.5+, a solution isn't working or I've made something wrong. Funny, the post is 7 years old.

Btw. what are the chances this is hosting related because as said, the customer never reported it until recently?

Newbie

Posts

Joined
Sun Sep 29, 2013 10:35 pm

Post by IP_CAM » Mon Apr 01, 2019 5:06 am

entity 'eacute' not defined
Well, two of the posting found are no quite so old, but your problem might
be based on something, also published in non OC related postings as well.
And it has little or nothing to do with specific OC-Versions either , as I assume.
Good Luck!
Ernie
---
https://www.google.com/search?newwindow ... t+defined'
viewtopic.php?t=161357
http://forum.opencart-france.com/soutie ... t3737.html

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by OneManShow » Mon Apr 08, 2019 1:05 pm

IP_CAM, thanks for the comment. I'll look forward...

Newbie

Posts

Joined
Sun Sep 29, 2013 10:35 pm
Who is online

Users browsing this forum: No registered users and 25 guests