NEXUS-6622: Continue if JDK/HC gives up on charset determination

Sorry for reformat, no other change than on lines R 225-231

Issue
https://issues.sonatype.org/browse/NEXUS-6622

CI
TBD