[ https://issues.apache.org/jira/browse/COCOON-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15561631#comment-15561631 ]
Hudson commented on COCOON-2352: -------------------------------- FAILURE: Integrated in Jenkins build Cocoon 2.1.X #111 (See [https://builds.apache.org/job/Cocoon%202.1.X/111/]) [COCOON-2352] Support for Unicode surrogate pairs - This closes #1 (ilgrosso: [http://svn.apache.org/viewvc/?view=rev&rev=1764023]) * (edit) BRANCH_2_1_X/src/blocks/serializers/java/org/apache/cocoon/components/serializers/EncodingSerializer.java * (edit) BRANCH_2_1_X/src/blocks/serializers/java/org/apache/cocoon/components/serializers/encoding/XMLEncoder.java * (add) BRANCH_2_1_X/src/blocks/serializers/test * (add) BRANCH_2_1_X/src/blocks/serializers/test/org * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache/cocoon * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache/cocoon/components * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache/cocoon/components/serializers * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache/cocoon/components/serializers/encoding * (add) BRANCH_2_1_X/src/blocks/serializers/test/org/apache/cocoon/components/serializers/encoding/XMLEncoderTestCase.java > XMLEncoder doesn't support Unicode surrogate pairs > -------------------------------------------------- > > Key: COCOON-2352 > URL: https://issues.apache.org/jira/browse/COCOON-2352 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core, Blocks: Serializers > Affects Versions: 2.1.12 > Reporter: Ben Fortuna > Assignee: Francesco Chicchiriccò > Fix For: 2.1.13 > > > Whilst investigating an issue with the Sling project and support for emoji > characters, I've come to notice that the XMLEncoder used by HTMLSerializer > doesn't support Unicode surrogate pairs to represent higher order unicode > characters. > A simple unit test that demonstrates this issue is here: > https://github.com/micronode/whistlepost/blob/master/whistlepost-rewrite-lib/src/test/groovy/org/apache/cocoon/components/serializers/encoding/XMLEncoderTest.groovy > More background info here also: SLING-5973 > This seems to have been identified/addressed in other Apache projects also: > https://issues.apache.org/jira/browse/THRIFT-3403?jql=text%20~%20%22surrogate%20pairs%22 -- This message was sent by Atlassian JIRA (v6.3.4#6332)