Results 1 to 5 of 5

Thread: Strange behaviour Euro character in pdf quotes

  1. #1
    TMI
    TMI is offline Member
    Join Date
    Aug 2008
    Posts
    6

    Default Strange behaviour Euro character in pdf quotes

    Throughout the whole CRM, I use the euro sign and it is displayed without any errors. But as soon as a try to print a quote as a pdf, the euro-sign is replaced by € . (a strange couple of characters).

    I've been browsing this forum for quite a while now, but can't find a solution.

    Please help!

    Sincerely,

    Jeroen

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Strange behaviour Euro character in pdf quotes

    Hi Jeroen

    the ezPDF library, used by SugarCRM to generate pdf, does not support UTF-8 characters.
    So you can translate it to other charset. Add this line into script which are trying to display the euro symbol.

    PHP Code:
    $euro_symbol $locale->translateCharset($euro'UTF-8''ISO-8859-1'
    Best regards.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    gcipolletti is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    19

    Default Re: Strange behaviour Euro character in pdf quotes

    Hi!

    In what file?
    in /sugrcrm/modules/quotes/layouts/standard.php or invoice.php?
    Have i insert the line also if i'm using ISO88591 in MyAccount?

    Best regards,
    Graziella

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Strange behaviour Euro character in pdf quotes

    Hi Graziella

    I believe you need to convert in both files and also for ISO88591 once Sugar try to convert to UTF-8.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    kamalesh2008 is offline Sugar Community Member
    Join Date
    Mar 2010
    Location
    Pune , India
    Posts
    46

    Thumbs up Re: Strange behaviour Euro character in pdf quotes

    Hello All,

    tcpdf export does not look right. Umlauts (ö, ä, ü) is not displaying.
    there is many ?'s in pdf. i want to remove it.

    please check my post
    http://panther.sugarcrm.com/forums/s...ad.php?t=62717


    any help in regards will be highly appreciated.

    Thank You
    Kamlesh Dhayal
    Thank You
    Kamalesh Dhayal
    SugarCRM Developer
    Pune India
    Skype:kdhayal
    email:kamaleshdhayal2006@gmail.com
    Phone:+918055571304

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PDF Quotes Error
    By jmcalderond in forum Help
    Replies: 1
    Last Post: 2008-06-09, 07:00 PM
  2. Empty PDF quotes
    By KISSsoft in forum Help
    Replies: 3
    Last Post: 2008-04-29, 01:54 PM
  3. Add Number of page on modules Quotes (PDF)
    By deuzzi in forum Developer Help
    Replies: 3
    Last Post: 2006-04-12, 06:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •