https://issues.apache.org/ooo/show_bug.cgi?id=123986

            Bug ID: 123986
        Issue Type: DEFECT
           Summary: [ia2] charmap accessibility fails for code points
                    beyond the unicode baseplane
           Product: General
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: accessibility
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The compiler rightfully complained about
"charmapacc.cxx:712: warning: comparison is always false due to limited range
of data type"
because an unsigned 16bit type was compared against 0xFFFF. For codepoints
bigger than this only the codepoint of the first part of the surrogate pair was
reported. Reporting the full UTF-32 codepoint instead would be correct.

So the code needs some adjustments to also work with codepoints beyond the
unicode base plane.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to