Returns a new instance with the same type and subtype as this instance, with the {@code charset} parameter set to the {@link Charset#name name} of the given charset. Only one{@code charset} parameter will be present on the new instance regardless of the number set onthis one.
If a charset must be specified that is not supported on this JVM (and thus is not representable as a {@link Charset} instance, use {@link #withParameter}.