On Oct 17, 2010, at 5:37 AM, Michael Snoyman <[email protected]> wrote:
> 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_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to