original_docstring: 
          Encode keys and values in UTF-8 if they are unicode strings.
          
          csv Python module does not handle it automatically.
          
          - dct: input dictionnary with possibly unicode strings for text keys and values.
          - return: dictionnary with text keys and values into byte strings encoded in UTF-8.
          
docstring: Encode keys and values in UTF-8 if they are unicode strings.
  csv Python module does not handle it automatically.
  
  input dictionnary with possibly unicode strings for text keys and values.
  return: dictionnary with text keys and values into byte strings encoded in UTF-8.
docstring_tokens: Encode keys and values in UTF - 8 if they are unicode strings . csv Python module does not handle it automatically . input dictionnary with possibly unicode strings for text keys and values . return : dictionnary with text keys and values into byte strings encoded in UTF - 8 .
code: def encode_utf8(dct):
          """
          Encode keys and values in UTF-8 if they are unicode strings.
          
          csv Python module does not handle it automatically.
          
          - dct: input dictionnary with possibly unicode strings for text keys and values.
          - return: dictionnary with text keys and values into byte strings encoded in UTF-8.
          """
          output = { }
          for key, value in dct.iteritems():
              if type(key) == type(u""):
                  key = key.encode('utf-8')
              if type(value) == type(u""):
                  value = value.encode('utf-8')
              output[key] = value
          return output
code_tokens: def encode_utf8 ( dct ) : output = { } for key , value in dct . iteritems ( ) : if type ( key ) == type ( u"" ) : key = key . encode ( 'utf-8' ) if type ( value ) == type ( u"" ) : value = value . encode ( 'utf-8' ) output [ key ] = value return output
short_docstring: Encode keys and values in UTF-8 if they are unicode strings.
short_docstring_tokens: Encode keys and values in UTF - 8 if they are unicode strings .
comment: """
          Encode keys and values in UTF-8 if they are unicode strings.
          
          csv Python module does not handle it automatically.
          
          - dct: input dictionnary with possibly unicode strings for text keys and values.
          - return: dictionnary with text keys and values into byte strings encoded in UTF-8.
          """