You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michael Greulich (Jira)" <ji...@apache.org> on 2020/04/01 11:49:00 UTC

[jira] [Created] (CAMEL-14825) Bugfix for Bindy-Component

Michael Greulich created CAMEL-14825:
----------------------------------------

             Summary: Bugfix for Bindy-Component
                 Key: CAMEL-14825
                 URL: https://issues.apache.org/jira/browse/CAMEL-14825
             Project: Camel
          Issue Type: Bug
          Components: camel-bindy
    Affects Versions: 3.1.0
         Environment: 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
            Reporter: Michael Greulich
             Fix For: Future


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:

Michael



--
This message was sent by Atlassian Jira
(v8.3.4#803005)