You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/14 06:51:00 UTC

[jira] [Commented] (TEXT-89) Add UTF-32 surrogate pairs support for WordUtils.initials()

    [ https://issues.apache.org/jira/browse/TEXT-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048768#comment-16048768 ] 

ASF GitHub Bot commented on TEXT-89:
------------------------------------

GitHub user arunvinudss opened a pull request:

    https://github.com/apache/commons-text/pull/49

    TEXT-89: UTF-32 support for WordUtils.initials

    @chtompki Adding support for surrogate pairs to WordUtils.initials. Characters outside BMP can be used now and also added unit tests for surrogate pairs .

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arunvinudss/commons-text TEXT-89

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-text/pull/49.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #49
    
----
commit 321e08e368ae4da92079a66dff7eeb0de89b6072
Author: Arun Vinud <ar...@capitalone.com>
Date:   2017-06-14T06:46:12Z

    TEXT-89: Added support for UTF-32

----


> Add UTF-32 surrogate pairs support for WordUtils.initials()
> -----------------------------------------------------------
>
>                 Key: TEXT-89
>                 URL: https://issues.apache.org/jira/browse/TEXT-89
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Arun Vinud 
>            Priority: Minor
>
> The current implementation of WordUtils.initials() doesn't support UTF-32 . Refactor the code to provide native support for surrogate pairs . 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)