On Wed, Mar 25, 2015 at 2:49 AM, Alexander Klimetschek
aklim...@adobe.com wrote:
...when reading text files (nt:files) via the resource API, it would be useful
to be able to adapt to a Reader, that is set up with the right charset
Sounds good to me but how do you define text file in this
On 25.03.2015, at 01:26, Bertrand Delacretaz bdelacre...@apache.org wrote:
Sounds good to me but how do you define text file in this context?
Mime type, filename, sniffing? A pluggable way of doing that would be best.
No need for detecting a text file, the application requests it with
Hi,
when reading text files (nt:files) via the resource API, it would be useful to
be able to adapt to a Reader, that is set up with the right charset. Instead of
having to resource.adaptTo(InputStream.class) and manually figuring out the
charset.
The charset would be either jcr:encoding on