Lines Matching refs:errors
147 def encode(self,input,errors='strict'):
149 if errors != 'strict':
151 raise UnicodeError("unsupported error handling "+errors)
168 def decode(self,input,errors='strict'):
170 if errors != 'strict':
171 raise UnicodeError("Unsupported error handling "+errors)
198 def _buffer_encode(self, input, errors, final):
199 if errors != 'strict':
201 raise UnicodeError("unsupported error handling "+errors)
232 def _buffer_decode(self, input, errors, final):
233 if errors != 'strict':
234 raise UnicodeError("Unsupported error handling "+errors)