+ Reply to Thread
Results 1 to 2 of 2
This is a discussion on Accents on Salseforce within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi all, i used a web 2 lead to implement my salesforce
  1. #1
    Van83 is offline Junior Member
    Join Date
    Sep 2010
    Posts
    2

    Accents on Salseforce

    Hi all,
    i used a web 2 lead to implement my salesforce sandbox. I've got a problem with the accents in the data sent.

    PHP Code:
    $header  "POST /servlet/servlet.WebToLead?encoding=UTF-8 HTTP/1.0\r\n"
    PHP Code:
    fputs ($fp$header utf8_encode($req)); 
    in the $req variable are all data that i passed to salesforce.

    So the problem is that in salesforce, all data passes with wrong accents like A~ .

    I have to set something on my sandbox??

    Any helps!!!

  2. #2
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    So since you are sending the data you can try this:


    PHP Code:
    $req htmlspecialchars($req); 
    OR

    PHP Code:

     $req 
    '<![CDATA[' $req ']]>'
    Not sure if this will work, but it's worth a try!!

    hope this helps

    ~Mike

+ Reply to Thread

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

SEO by vBSEO 3.5.2