Home | History | Annotate | Download | only in python2.7

Lines Matching refs:file_encoding

744     file_encoding = 'unknown'
890 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'):
897 file as string using file_encoding. The intermediate encoding
900 Strings are read from the file using file_encoding and then
903 If file_encoding is not given, it defaults to data_encoding.
910 .data_encoding and .file_encoding which reflect the given
915 if file_encoding is None:
916 file_encoding = data_encoding
918 file_info = lookup(file_encoding)
923 sr.file_encoding = file_encoding