[ 
https://issues.apache.org/jira/browse/LANG-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donghwi Min updated LANG-1655:
------------------------------
    Description: 
String origin = "잊지마 넌 흐린 어둠사이 왼손으로 그린 별 하나";

*String.stripAccents(origin)* is expected to return *origin*,

but it returns this.

"ㅇㅣㅈㅈㅣㅁㅏ ㄴㅓㄴ ㅎㅡㄹㅣㄴ ㅇㅓㄷㅜㅁ ㅅㅏㅇㅣ ㅇㅗㅣㄴㅅㅗㄴㅇㅡㄹㅗ ㄱㅡㄹㅣㄴ ㅂㅕㄹ ㅎㅏ ㄴㅏ"

The above string is a separate consonant and vowel of korean.

This issue happens on NFD systems. (linux, windows)

 

  was:
String origin = "잊지마 넌 흐린 어둠사이 왼손으로 그린 별 하나";

String.stripAccents(origin) is expected to return origin,

but it returns the string below.

"ㅇㅣㅈㅈㅣㅁㅏ ㄴㅓㄴ ㅎㅡㄹㅣㄴ ㅇㅓㄷㅜㅁ ㅅㅏㅇㅣ ㅇㅗㅣㄴㅅㅗㄴㅇㅡㄹㅗ ㄱㅡㄹㅣㄴ ㅂㅕㄹ ㅎㅏ ㄴㅏ"

This happens on systems that do not support NFC. (linux, windows)


> Fix an error where characters were separated in the NFD system
> --------------------------------------------------------------
>
>                 Key: LANG-1655
>                 URL: https://issues.apache.org/jira/browse/LANG-1655
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: General
>            Reporter: Donghwi Min
>            Priority: Minor
>
> String origin = "잊지마 넌 흐린 어둠사이 왼손으로 그린 별 하나";
> *String.stripAccents(origin)* is expected to return *origin*,
> but it returns this.
> "ㅇㅣㅈㅈㅣㅁㅏ ㄴㅓㄴ ㅎㅡㄹㅣㄴ ㅇㅓㄷㅜㅁ ㅅㅏㅇㅣ ㅇㅗㅣㄴㅅㅗㄴㅇㅡㄹㅗ ㄱㅡㄹㅣㄴ ㅂㅕㄹ ㅎㅏ ㄴㅏ"
> The above string is a separate consonant and vowel of korean.
> This issue happens on NFD systems. (linux, windows)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to