support encoding error handlers that return bytes (closes #16585)
3 files changed