WICKET-5463 resilience against unsupported Charsets