opt: Add an error handler in Encoding Convertor.