Look up a CharSet based on a given media type's charset parameter.
charset
Charset from the mediaType or the default.
MediaType to derive the CharSet from.
If mediaType doesn't have a charset parameter, this value is returned.