              return ''
  
          stream = StringIO()
  
          xml = SimplerXMLGenerator(stream, "utf-8")
          xml.startDocument()
          xml.startElement("root", {})
  
          self._to_xml(xml, data)
  
 
</s> remove         Render `obj` into json.
 </s> add         Render `data` into JSON. </s> remove         return "%s(%s);" % (callback, json)
 </s> add         return callback.encode(self.charset) + b'(' + json + b');' </s> remove         return yaml.dump(data, stream=None, Dumper=self.encoder)
 </s> add         return yaml.dump(data, stream=None, encoding=self.charset, Dumper=self.encoder) </s> remove     charset = 'iso-8859-1'
 </s> add     charset = 'utf-8'
    # Note that JSON encodings must be utf-8, utf-16 or utf-32.
    # See: http://www.ietf.org/rfc/rfc4627.txt </s> remove     Renderer which serializes to json.
 </s> add     Renderer which serializes to JSON.
    Applies JSON's backslash-u character escaping for non-ascii characters.
        xml = SimplerXMLGenerator(stream, self.charset)
              return ''
  
          stream = StringIO()
  
        xml = SimplerXMLGenerator(stream, self.charset)
          xml.startDocument()
          xml.startElement("root", {})
  
          self._to_xml(xml, data)
  
keep keep keep keep replace keep keep keep keep keep
 Last bits of charset sorting-out-ness 
rest_framework/renderers.py