Using the Quickbooks SDK QBFC 7.0. When I attempt to get a list of all customers in quickbooks, if any of the customers have an accented character in their name like è then I get an exception:
An Exception occurred! Type:UTFDataFormatException, Message: invalid byte 2 (<)
of a 3-byte sequence. SAXParseException: error ar line 1, column 23 in XML data.
Several Intuit forums have said that I have to change the XML to UTF-8 (which is all they say, they give no real solution), the QBFC clearly does use XML for sending and receiving data, but I can't find anyway to override the default encoding.
The request is created with the following code. The exception occurs on DoRequests()
IMsgSetRequest req = Session.GetLatestMsgSetRequest();
ICustomerQuery cq = req.AppendCustomerQueryRq();
IMsgSetResponse responseSet = Session.QBSM.DoRequests(req);