Page 1 of 1

£ appears on Order emails

Posted: Fri Apr 16, 2021 10:02 pm
by ascobie11
The  character is appearing before the £ on my order emails, has anyone else had this issue?

Re: £ appears on Order emails

Posted: Fri Apr 16, 2021 10:24 pm
by OSWorX
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?

Re: £ appears on Order emails

Posted: Fri Apr 16, 2021 10:54 pm
by ascobie11
Version 3.0.3.2

The order_add and order_alert

Re: £ appears on Order emails

Posted: Sat Apr 17, 2021 12:44 am
by OSWorX
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.

Re: £ appears on Order emails

Posted: Sat Apr 17, 2021 10:02 pm
by ascobie11
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.

Re: £ appears on Order emails

Posted: Sat Apr 17, 2021 10:30 pm
by OSWorX
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?

Re: £ appears on Order emails

Posted: Mon Apr 19, 2021 6:40 pm
by paulfeakins
In HTML the £ sign should be £

Re: £ appears on Order emails

Posted: Mon Apr 19, 2021 6:46 pm
by OSWorX
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.