Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.1, 2.15.0
-
None
-
Unknown
Description
Calling IOConverter.toInputStream with either UTF-8 or ISO-8859-1 returns a stream that behaves strange on non-ascii-characters:
- putting this stream into an InputStreamReader will return false encoded characters
- a naive new BufferedReader(new InputStreamReader(new FileInputStream(file), charset)) will return the correctly encoded characters.
I will attach some unit tests for this case.
Attachments
Attachments
Issue Links
- blocks
-
CAMEL-8346 JsonPathEngine skips file encoding
- Resolved