I'm using NuSOAP to interact with a third party API, including running database queries and retrieving the results. It's been working quite reliably, but I just ran into an issue with one specific query. Instead of returning results, NuSOAP generated an error: XML error parsing SOAP payload on line 2: Invalid character
Turns out that the result set contained the following: Léa Lincoln
. When I manually changed the accented character to a "regular" one, the query worked fine with no errors from NuSOAP.
So, my question is how to handle this going forward. I can't control the data coming from the database, and I need for NuSOAP not to throw an error and stop every time there's a non-standard character. Thanks. --Jeff