According to the JSON specification, JSON can be returned in one of five string encodings:
- UTF-8 (the default encoding)
- UTF-16 Little Endian
- UTF-16 Big Endian
- UTF-32 Little Endian
- UTF-32 Big Endian
Does the API guarantee that only one of these encodings is going to be used? If so, which one?
In other words, is the Content-Type
header guaranteed to always be "application/json; charset=utf-8"?