title: mongodb/gridfs java-driver use with utf-8 meta data
body: <p>I am trying to use GridFS to load a file along with some meta data 
  using the java-driver. (2.5.3) 
  Things work fine as long as the meta-data is in ASCII. But I get an 
  exception  - the moment I try and set a UTF8 string with non ascii 
  characters. 
  String MetaData = "学海"; 
  GridFS gridFS = new GridFS(db); 
  GridFSInputFile inputFile = myFS.createFile(new File(filePath)); 
              DBObject dbObj = inputFile.getMetaData() 
              dbObj.put("metaData", MetaData);   ----> Get exception here (if non- ascii data) </p>
  
  <pre><code>        inputFile.save();
  </code></pre>