Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.1.0
-
JDK: openjdk-8-jdk Version 8u242-b08-0ubuntu3~18.04 on Ubuntu 18.04 amd64
The ICU4J library was used for processing Unicode correctly: See dependencies in POM
-
Moderate
-
Regression
Description
Hi,
unfortunately there is a bug in the code I donated for the Unicode support for the bindy component for fixed length files, which is not so obvious: The indexOf(..) method of Unicode Helper is returning the wrong index if the char searched for s also available as char with combining char. Sorry for that...
Additionally I turned the the default value for countGrapheme in the FixedLengthRecord annoation, since it is more likely, that the way chars are counted is compatible to XMLSchema.
See also: https://issues.apache.org/jira/browse/CAMEL-14521
Pull request: https://github.com/apache/camel/pull/3702
Michael