Fix RPTV-787 Encoding::ConverterNotFoundError and Encoding::UndefinedConversionError