openjax/xml

Deduce doc encoding for InputSource.getByteStream()

Opened this issue · 1 comments

The InputSource.getByteStream() method returns a raw byte stream, and thus does not contain the byte encoding. Currently, code that uses InputSource.getByteStream() assumes the encoding is UTF-8, but this is not guaranteed.