Topic: REST API character set?
Which character set are the REST API responses in? (eg UTF-8, latin1 etc)
I didn't find any mention in the documentation (maybe I missed it).
The HTTP headers don't include it (eg in the Content-Type header).
The JSON specification says it SHALL be Unicode, default UTF-8 (Section 3 of RFC4627)
When decoding reponses as UTF-8 I sometimes get decoding errors - it looked like the API was returning latin1 characters.
I am currently decoding as latin1 but get strange results when it comes across UTF-8 encoded characters.
Which character set should I expect from the API?
Thanks,
Chris.
BTW I included a link to the RFC page at the IETF but upon submitting was warned...
"Too more links in message. Allowed 0 links. Reduce number of links and post it again."
It seems a shame that I can't cite my references in a technical forum :(