Issue 123986

Summary: [ia2] charmap accessibility fails for code points beyond the unicode baseplane
Product: General Reporter: hdu <hdu>
Component: accessibilityAssignee: hdu <hdu>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 4.1.0-dev   
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121767    

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.