Searched refs:file_encoding (Results 1 – 3 of 3) sorted by relevance
773 file_encoding = 'unknown' variable in StreamRecoder919 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): argument944 if file_encoding is None:945 file_encoding = data_encoding947 file_info = lookup(file_encoding)952 sr.file_encoding = file_encoding
1295 int file_encoding; /* E_ values above */ member1673 display->file_encoding = P_FILE; in set_file_encoding()1678 display->file_encoding = P_sRGB; in set_file_encoding()1682 display->file_encoding = P_LINEAR8; in set_file_encoding()1689 encoding = display->file_encoding; in decode_gamma()1694 encoding = display->file_encoding; in decode_gamma()1780 if (display->file_encoding == P_NOTSET) in png_create_colormap_entry()1786 encoding = display->file_encoding; in png_create_colormap_entry()
208 .. function:: EncodedFile(file, data_encoding, file_encoding=None, errors='strict')216 *file_encoding*. Bytes read from the original file are decoded217 according to *file_encoding*, and the result is encoded220 If *file_encoding* is not given, it defaults to *data_encoding*.