+ Start a Discussion

Submit text into SFDC text field via API

Here is my scenario:
1. Contact opens new case from company's website page (ASPX/C#). Description field includes break lines (represented by "/r/n" in website's code).
2. When SFDC user changes case's details via Salesforce an email should be sent to specific email address.
3. SFDC user edit the case in SFDC and doesn't change anything.
4. SFDC user click on save.

Expect result : no email should be sent.
Result: Email is sent because the system thinks that description has been changed (although I didn't change anything in the case and the text seems exactly the same).
It seems that the saving it from Salesforce is giving different results from saving to SFDC via API


Is it a text encoding problem?