Pound Symbol - Not shown on Invoice

Discussion in 'Payments processing' started by brod17, Jun 16, 2011.

  1. brod17

    brod17 New Member

    Joined:
    Feb 1, 2011
    Messages:
    2
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Actually it should work if just will copy this symbol from any unicode editor. It should be saved. Please contact us in helpdesk we will check what can be wrong.
  3. robw

    robw CGI-Central Partner

    Joined:
    Dec 18, 2007
    Messages:
    287
    Hi Rod/Alex,

    The issue occurs because the validation of settings fields scrubs multibyte characters, meaning you have to add £ (or the 163 hash character), which then shows up in emails as is.

    The solution is to edit common.inc.php and edit the mail_customer function (around line 1249)

    after:
    PHP:
    global $config$db;
    add:
    PHP:
    $text str_replace ("£"chr(163), $text);
    (assumes you are using £ in the settings of course)

    Cheers
    Rob

    Ps - Alex, I raised this in ticket YWU-13599-137

Share This Page