      charset = 'iso-8859-1'
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
          """
          Render `obj` into json.
          """
          if data is None:
              return ''
  
          # If 'indent' is provided in the context, then pretty print the result.
 
</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         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         if not self.ensure_ascii:
 </s> add         # On python 2.x json.dumps() returns bytestrings if ensure_ascii=True,
        # but if ensure_ascii=False, the return type is underspecified,
        # and may (or may not) be unicode.
        # On python 3.x json.dumps() returns unicode strings.
        if isinstance(ret, six.text_type): </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.
        Render `data` into JSON.
      charset = 'iso-8859-1'
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
          """
        Render `data` into JSON.
          """
          if data is None:
              return ''
  
          # If 'indent' is provided in the context, then pretty print the result.
keep keep keep keep replace keep keep keep keep keep
 Last bits of charset sorting-out-ness 
rest_framework/renderers.py