Support

Home Forums Event Espresso Premium PDF Invoices

PDF Invoices

Posted: January 24, 2013 at 7:05 am


Steve Gibson

January 24, 2013 at 7:05 am

When I create a PDF invoice the currency symbol (£) displays as £. I have looked around the support forums and can’t find a solution. Any help would be greatly appreciated.


Josh

  • Support Staff

January 24, 2013 at 12:56 pm

Hi Steve,

I’m finding the same thing on my end when I test it. I’m going to create a ticket to fix this, but I did find what is at the very least a workaround. Here’s what I did:

I opened up the gateways/invoice/function.pdf.php file in the Event Espresso plugin and changed line 6 where it says:

$currency_sign = html_entity_decode( $org_options[ 'currency_symbol' ], ENT_QUOTES, 'UTF-8' );

to

$currency_sign = html_entity_decode( $org_options[ 'currency_symbol' ], ENT_QUOTES, 'ISO-8859-15' );

Changing the encoding worked on my test site. Can you try that and let us know if that works for you?

Thanks.


Steve Gibson

January 24, 2013 at 5:42 pm

Hi Josh,

Thanks for the quick reply, this has solved the problem.

Steve

The support post ‘PDF Invoices’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Steve Gibson 6 years, 10 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!