Gets a Encoding from a character set such as "UTF-8" or "ISO-8859-1".
a character set.
the corresponding Encoding, or null if not found.