Lines Matching defs:encoding
16 encoding = 'utf-8'
128 fileencoding = f.encoding
135 "Specify file encoding",
136 "The file's encoding is invalid for Python 3.x.\n"
138 "What is the current encoding of the file?",
141 with open(filename, encoding=enc) as f:
143 fileencoding = f.encoding
271 # This is either plain ASCII, or Tk was returning mixed-encoding
278 # If not, no need to figure out the encoding.
283 # Check if there is an encoding declared
291 failed = "Invalid encoding '%s'" % enc
297 # declared encoding