After catching java.io.UnsupportedEncodingException, I have no way to know
the name of the encoding that caused the problem except to parse the detail
message.
the name of the encoding that caused the problem except to parse the detail
message.