Issue 123986 - [ia2] charmap accessibility fails for code points beyond the unicode baseplane
Summary: [ia2] charmap accessibility fails for code points beyond the unicode baseplane
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: accessibility (show other issues)
Version: 4.1.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks: winA11y
  Show dependency tree
 
Reported: 2014-01-07 08:44 UTC by hdu@apache.org
Modified: 2014-04-01 12:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2014-01-07 08:44:15 UTC
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.
Comment 1 SVN Robot 2014-01-07 08:45:57 UTC
"hdu" committed SVN revision 1556146 into trunk:
#i123986# fix charmap accessibility for code points beyond the unicode baseplane
Comment 2 hdu@apache.org 2014-01-07 09:11:47 UTC
Fixed with the commit above.
Comment 3 hdu@apache.org 2014-04-01 12:27:33 UTC
Closing the resolved issue.