Fixes for all features

This commit is contained in:
Steve Cook
2023-03-01 22:19:37 -05:00
parent a9bc58108c
commit daa1d86358
4 changed files with 28 additions and 39 deletions

View File

@@ -310,7 +310,7 @@ fn decodeByteSegment(
{
encoding::all::ISO_8859_1
} else {
StringUtils::guessCharset(&readBytes, hints)
StringUtils::guessCharset(&readBytes, hints).ok_or(Exceptions::ILLEGAL_STATE)?
}
} else {
CharacterSetECI::getCharset(