Get the character encoding for a byte stream or URI. This value will be ignored when the application provides a character stream.
Returns: The encoding, or null if none was supplied.
See also: setByteStream, getSystemId, getByteStream
Diagram: Support