Home | History | Annotate | Download | only in Lib

Lines Matching refs:file_encoding

759     file_encoding = 'unknown'
905 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'):
912 file as string using file_encoding. The intermediate encoding
915 Strings are read from the file using file_encoding and then
918 If file_encoding is not given, it defaults to data_encoding.
925 .data_encoding and .file_encoding which reflect the given
930 if file_encoding is None:
931 file_encoding = data_encoding
933 file_info = lookup(file_encoding)
938 sr.file_encoding = file_encoding