Thanks for the prompt response, surely I will check with the snapshot
version and get back.

On Fri, Oct 16, 2020 at 11:49 AM Andrea Cosentino <anco...@gmail.com> wrote:

> Hello,
>
> This should be fixed in 3.6.0. We changed the way we populate the body, so
> the charset is not enforced anymore.
>
> You can try with 3.6.0-SNAPSHOT.
>
> Let us know if it works, the release for 3.6.0 should be on vote this
> weekend.
>
> Cheers.
>
> Il giorno ven 16 ott 2020 alle ore 08:11 राकेश रवळेकर <
> rakesh.ravle...@gmail.com> ha scritto:
>
> > Hi All,
> >
> > We have been using Camel to read files from AWS S3 bucket, however we
> could
> > see the accented characters in the file body are not readable despite
> using
> > covertBodyTo in our routes. Further check in AWS2S3Endpoint.java shows
> that
> > the default charset is used as UTF-8 only?
> >
> > Reader reader = new BufferedReader(new InputStreamReader(s3Object,
> > Charset.forName(StandardCharsets.UTF_8.name())));
> >
> > Is there any other way if we need to read the file body containing such
> > accented characters? Have even tried to change the default charset using
> >
> > System.setProperty("org.apache.camel.default.charset", "Cp1252");
> >
> > We are using below versions
> >
> > <java.version>11</java.version>
> > <aws.java.sdk.version>2.13.56</aws.java.sdk.version>
> > <camel-version>3.5.0</camel-version>
> >
> > Please suggest if we are missing anything?
> >
>

Reply via email to