Post by maffe » Thu Oct 31, 2024 5:27 am

We are still using OC2.3.0.2, and since today, all invoices (the confirmation email that the customer receives and we shop owners also receive) show a square block with a question mark instead of the euro sign. Additionally, if a customer has a name with an ‘e’ with a diaeresis or an ‘i’ with two dots, these characters are not displayed correctly on the invoice received via email. It doesn’t seem to be an issue with Windows, Outlook, or fonts. It appears to be a website-side issue, possibly with the PHP script that generates and sends the invoice. Does it need an adjustment?

Any tips? Anyone else experienced this?

Active Member

Posts

Joined
Sun Jun 12, 2011 5:21 am
Location - Lelystad

Post by ADD Creative » Thu Oct 31, 2024 5:55 pm

Something might of have changed for the issue to suddenly start. Have you made any changes such as installing an extension or changing any mail settings?

Ask your host if they have made any changes to your hosting, such as changing the PHP version.
Check both your OpenCart and PHP error log.
Try viewing the email in a different email client.
View the raw source of the email in you email client and check what characters are used.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Thu Oct 31, 2024 8:22 pm

maffe wrote:
Thu Oct 31, 2024 5:27 am
We are still using OC2.3.0.2, and since today, all invoices (the confirmation email that the customer receives and we shop owners also receive) show a square block with a question mark instead of the euro sign.
Sounds like your host has changed something, send them a support ticket.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by maffe » Fri Nov 01, 2024 4:42 am

Php version 7.4 and is not updated.
in mail.php there is base64_encoding. Can that be a problem?
See attach for screenshot with this issue.

Attachments

strange-characters.jpg

strange characters - strange-characters.jpg (78.79 KiB) Viewed 492 times


Active Member

Posts

Joined
Sun Jun 12, 2011 5:21 am
Location - Lelystad

Post by ADD Creative » Fri Nov 01, 2024 8:06 am

Base64 encoding would not cause that issue. It look like the email is in UTF-8, which it should be, but the mail client is displaying in another character encoding.

Try viewing the email in a different email client.
View the raw source of the email in you email client and check what characters and encoding are used.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Fri Nov 01, 2024 8:31 pm

maffe wrote:
Fri Nov 01, 2024 4:42 am
Php version 7.4 and is not updated.
How do you know?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by maffe » Fri Nov 01, 2024 11:14 pm

We have identified the problem. The emails were still being sent out via localhost, through the provider’s mail server.
Now, we have configured the shop settings to route the emails through smtp2go.com. And indeed, the emails are now correctly received with the euro symbol, etc.
We are creating a ticket with the provider to investigate this further. Thanks everyone for your input.

Active Member

Posts

Joined
Sun Jun 12, 2011 5:21 am
Location - Lelystad

Post by maffe » Sat Nov 02, 2024 3:57 pm


Active Member

Posts

Joined
Sun Jun 12, 2011 5:21 am
Location - Lelystad
Who is online

Users browsing this forum: No registered users and 10 guests