I experienced a problem with data transmitted to an XData endpoint where there are accented chars (éèà...) in the content.
What is the right way to handle this ?
Request a 'Content-type json; charset=utf-8' header ?
Does XData analyze the body (first bytes) of an incoming request to guess the charset ?
The content is sent by a java client I don't have sources of.
I was told by the programmer that he sends utf-8 but I didn't check further.
That's why I asked about adding the charset in content type header
Indeed it's a typo in my post
The json provided when I have the problem is valid.
The json without an accented char is accepted by the endpoint. The exact same json with an accented char is refused with the error message I previously posted (Expected: begin array. Actual: EOF)