Reputation: 159
I'm attempting to communicate with Exchange 2007, and there are known bugs/problems with doing UpdateItem() so I'm manually communicating over cURL, building my own XML instead of letting the SOAP client do it. It all works fine, but I need to be able to properly encode HTML to fit within the elements of XML.
I know about html_encode() and htmlspecialchars() but I am unsure whether or not these are proper to use and whether or not in the future it may not encode correctly, and screw up the SOAP communication.
As a side note, if it matters, the communication will be in both English and Russian, so it needs to be Unicode safe.
Upvotes: 0
Views: 1707