
17 Oct
2010
17 Oct
'10
11:21 a.m.
On Oct 17, 2010, at 5:37 AM, Michael Snoyman
in the case of JSON, I believe this is always specified as UTF-8.
RFC 4627 section 3 says that JSON must be encoded in Unicode, but all encodings are acceptable. The encoding is inferred by the firsthand four octets. So you need to be prepared to decode UTF-16 and UTF-32 and endian variants. - Mark