Menu

RE: [tcpdf:discussion] Display of special caracters

Help
rob
2014-09-16
2014-09-27
  • rob

    rob - 2014-09-16

    The URL you provided doesn't work, it returns "You dont have permission".

    You probably just need to use strip_slashes().

    Thanks,
    Rob Butler

    -----Original Message-----
    From: "poco06" poco06@users.sf.net
    Sent: Tuesday, September 16, 2014 1:00pm
    To: "[tcpdf:discussion]" 435311@discussion.tcpdf.p.re.sf.net
    Subject: [tcpdf:discussion] Display of special caracters

    Hello,

    I'm using TCPDF and find it very usefull.
    Everything is working fine for me except the render of special caracters.
    I'm passing parameters thru an url like this :

    Voir

    Unfortunately, the result I'm getting in the pdf for cvligne2fr is :
    Département de l\'information

    How can I get rid of the "\" mark?
    Regards
    Pat


    Display of special caracters


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/tcpdf/discussion/435311/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     
    • poco06

      poco06 - 2014-09-27

      Hello Rob,

      I have another issue and perhaps you can have a good idea on it.

      I have some text sentences where a & is integrated. When I try to display these sentences with TCPDF, then, the & is not displayed and all that is after the & is omitted.

      How can I display this caracter. Is there a specific function to apply ?
      Regards
      Pat

       
      • Simon

        Simon - 2014-09-27

        You will probably want to use htmlentities() to encode your text.

         
  • poco06

    poco06 - 2014-09-18

    Hello Rob,

    Sorry for the blocked URL.
    I have tried your solution with stripslashes and it's fully working.
    Many thanks
    Pat

     

Log in to post a comment.