We don't have a class DefaultPropertyPlaceholder in Camel...

If you have fixed the issue, it would be good if you can raise a JIRA and
apply your patch.
I propose to add an "encoding" option to the PropertiesComponent. Than we
can populate the Properties class in DefaultPropertiesResolver with a
Reader instead an InputStream.

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642

On Tue, Mar 17, 2015 at 6:58 PM, contactreji <contactr...@gmail.com> wrote:

> Can we have a fix for this if its not available.
>
> Will be cool if next release can include InputStreamReader constructor
> modified to allow specify UTF-8 unicode characterset reading.
>
> Something like
>
> FileInputStream fis = new FileInputStream(
>                                 "<PathToPropertyFile>");
> InputStreamReader isr = new InputStreamReader(fis, "UTF8");
>
> In our project, the fix was done by extending DefaultPropertyPlaceholder
> class and overriding the method to instantiate InputStreamReader with
> charset UTF-8 enforced.
>
>
>
> -----
> Reji Mathews
> Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel
> & Jboss Fuse ESB | Mule ESB )
> LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
> Twitter - reji_mathews
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Property-UTF-8-issues-tp5764281p5764291.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to