Post by ascobie11 » Fri Apr 16, 2021 10:02 pm

The  character is appearing before the £ on my order emails, has anyone else had this issue?

Newbie

Posts

Joined
Thu Feb 11, 2021 6:48 am

Post by OSWorX » Fri Apr 16, 2021 10:24 pm

ascobie11 wrote:
Fri Apr 16, 2021 10:02 pm
The  character is appearing before the £ on my order emails, has anyone else had this issue?
Not really.
But as it seems, the encoding is wrong - maybe check the language (translation) file.
Which template are you using, and which OpenCart Version exactly?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ascobie11 » Fri Apr 16, 2021 10:54 pm

Version 3.0.3.2

The order_add and order_alert

Newbie

Posts

Joined
Thu Feb 11, 2021 6:48 am

Post by OSWorX » Sat Apr 17, 2021 12:44 am

You define the currency symbols in the Currency setting: System > Locales > Currencies
Guess you have made the error there (hit another button on your keyboard) - edit the value in the field, save and try again.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ascobie11 » Sat Apr 17, 2021 10:02 pm

It's only if I use £, $ etc that  or ¬ appear - if I use just a normal alphabetic character eg 'q', then nothing appears in from of the character.

Newbie

Posts

Joined
Thu Feb 11, 2021 6:48 am

Post by OSWorX » Sat Apr 17, 2021 10:30 pm

ascobie11 wrote:
Sat Apr 17, 2021 10:02 pm
It's only if I use £, $ etc that  or ¬ appear - if I use just a normal alphabetic character eg 'q', then nothing appears in from of the character.
You should check your database (MySQL) encoding (collation).
Best would be utf8mb4_general_ci, 2nd = utf8_general_ci
Nothing without utf8 - which I guess is the reason for that (old settings have mostly a latin_* collation which can be the reason for such).

btw: which php-version and MySQL-Version are you using?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Mon Apr 19, 2021 6:40 pm

In HTML the £ sign should be £

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by OSWorX » Mon Apr 19, 2021 6:46 pm

paulfeakins wrote:
Mon Apr 19, 2021 6:40 pm
In HTML the £ sign should be £
If the database collation is set correct, it can be £ or £ - does no matter, working with such since many years without any troubles.
And here the field is a simple text input field, no HTML.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: Google [Bot] and 31 guests