The text encoding error handler.
See https://docs.python.org/3/library/codecs.html#codec-base-classes for explanations of possible values.
Default is 'strict', which raises an error on encoding/decoding errors.
encoding_error_handler: NotRequired[EncodingErrorHandler]