reject attempts to upload invalid UTF-8 JSON.  Closes COUCHDB-345
reject attempts to upload invalid UTF-8 JSON.  Closes COUCHDB-345

This patch requires JSON to be encoded using UTF-8.  In the future we will
accept other encodings.  Thanks Joan Touzet and James Dumay for the bug reports
and Curt Arnold for patches and discussion.


git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@818249 13f79535-47bb-0310-9956-ffa450edef68

fkaempfer/couchdb,alanning/couchdb-couch,fkaempfer/couchdb,ngpestelos/couchdb-couch,smithsz/couchdb-couch,fkaempfer/couchdb,fkaempfer/couchdb,ngpestelos/couchdb-couch,cloudant/couchdb-couch,ngpestelos/couchdb-couch,smithsz/couchdb-couch,smithsz/couchdb-couch,alanning/couchdb-couch,KlausTrainer/couchdb-couch,cloudant/couchdb-couch,KlausTrainer/couchdb-couch,alanning/couchdb-couch,fkaempfer/couchdb,cloudant/couchdb-couch,apache/couchdb-couch,apache/couchdb-couch,fkaempfer/couchdb,apache/couchdb-couch,KlausTrainer/couchdb-couch