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?