GitHub user almondtools opened a pull request:

    https://github.com/apache/camel/pull/406

    CAMEL-8356 IOConverter.toInputStream(file, charset) returns strange

    I extended some Unittests to point out the problems:
    - toReader(file, charset) does respect the charset
    - toStream(file, charset) does not respect the charset
    
    The provided Patch for IOConverter.toInputStream does respect the charset. 
I do not know if other projects already rely on the current behaviour that the 
charset is completely ignored.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/almondtools/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/406.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #406
    
----
commit 9020431e167c2f03d96597d3c598fd988b2b5f56
Author: Stefan Mandel <mande...@gmail.com>
Date:   2015-02-14T17:31:37Z

    CAMEL-8356 IOConverter.toInputStream(file, charset) returns strange
    behaving stream

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to