TranscoderInput supports input via InputStream but does not allow to specify an encoding.
Add an encoding property to TranscoderInput so InputStream can be read properly (and input via URI has a default encoding to fall back). This implies adding a new method variant to DocumentFactory so documents can be parsed from a URI with a fallback encoding.
TranscoderInput
supports input viaInputStream
but does not allow to specify an encoding.Add an encoding property to
TranscoderInput
soInputStream
can be read properly (and input via URI has a default encoding to fall back). This implies adding a new method variant toDocumentFactory
so documents can be parsed from a URI with a fallback encoding.