unicode characters and html entities

aaronbauman - November 5, 2009 - 16:56
Project:Salesforce
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

I get the following error when I try to synch up any value containing an ampersand or a unicode character:
Salesforce Error: SoapFault The entity name must immediately follow the '&' in the entity reference.

How have other folks dealt with this?

#1

aaronbauman - November 5, 2009 - 20:31
Status:active» needs work

This patch runs values through htmlentities during salesforce_api_fieldmap_export_create, so that special html characters are encoded before SOAP gets its hands on the sobject.

I have used this patch with some success, but I don't think it's a complete solution to this issue.

AttachmentSize
salesforce-624406.patch 1.1 KB
 
 

Drupal is a registered trademark of Dries Buytaert.