We are developing a small external program in C# to migrate records between Salesforce organizations using the Bulk API. The data submitted to Salesforce use the XML format.
Our issue is that for some fields (so far the issue appears with Long Text fields) the data contains "=" signs. Salesforce fails these records indicating that it cannot parse the request. We have attempted to do an Html encode, but that does not encrypt "=" signs, we also did a replace of "=" with the html standard of "=". For the latter Salesforce says that it does not recognize "equals".
Are there any other suggestions regarding illegal characters when using the Bulk API and workarounds?