[
https://issues.apache.org/jira/browse/PIVOT-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657247#comment-16657247
]
Roger Whitcomb commented on PIVOT-1042:
---------------------------------------
Here is a good article from IBM about this issue and some methods to
efficiently handle surrogate pairs:
[https://www.ibm.com/developerworks/java/library/j-unicode/]
> Investigate support of surrogate pairs in all text processing
> -------------------------------------------------------------
>
> Key: PIVOT-1042
> URL: https://issues.apache.org/jira/browse/PIVOT-1042
> Project: Pivot
> Issue Type: Bug
> Components: wtk, wtk-terra, wtk-validation
> Reporter: Roger Whitcomb
> Assignee: Roger Whitcomb
> Priority: Major
> Fix For: 2.1.0
>
>
> According to PIVOT-850, most if not all the code that advances through text
> (such as for label sizing, drawing, etc.) is use CharSequence to do so
> (usually using "charAt()" method). This does not work correctly for
> surrogate pairs (such as emoji). And maybe the TextLayout stuff used by IME
> support needs tweaking as well....
> This issue is meant to collect all the fixes / changes necessary so that
> emoji (or any surrogate pair characters) will work with all the Pivot text
> code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)