Support

Home Forums Event Espresso Premium PDF Invoices

PDF Invoices

Posted: January 24, 2013 at 7:05 am

Viewing 2 reply threads


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

      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

        Viewing 2 reply threads

        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.

        Event Espresso - Staging Server