-
Bug
-
Resolution: Duplicate
-
P4
-
orion2_b07
-
sparc
-
solaris_9
OS : Solaris 9 sparc and x86
Build Image : B07a
Locale to install : ko.UTF-8, other locales should be the same but not tried.
JVM locale : ko
<how to reproduce>
1. log into Identity Server using amamdin in ko locale
2. add three organization using following Korean Characters :
- \uac02
- \ub620
- \uc0ac
These three characters should be sorted in the same order as shown above.
However, they are sorted :
- \ub620
- \uc0ac
- \uac02
It seems to sort all korean characters using euc sorting order. \uac02 is one of the characters that is not defined euc encoding so it was put at the end because it does not know how to sort it. To prevent this kind of situation, we should use dictionary based sorting.
I guess Identity Server using this kind of sorting... :
Collator col = Collator.getinstance(new Locale("ko", "KR"));
Collections.sort(list, col);
However, LocaleElements_ko.java file only defines KSC5601-1987 characters. It has to be updated to include Korean Unicode characters.
Build Image : B07a
Locale to install : ko.UTF-8, other locales should be the same but not tried.
JVM locale : ko
<how to reproduce>
1. log into Identity Server using amamdin in ko locale
2. add three organization using following Korean Characters :
- \uac02
- \ub620
- \uc0ac
These three characters should be sorted in the same order as shown above.
However, they are sorted :
- \ub620
- \uc0ac
- \uac02
It seems to sort all korean characters using euc sorting order. \uac02 is one of the characters that is not defined euc encoding so it was put at the end because it does not know how to sort it. To prevent this kind of situation, we should use dictionary based sorting.
I guess Identity Server using this kind of sorting... :
Collator col = Collator.getinstance(new Locale("ko", "KR"));
Collections.sort(list, col);
However, LocaleElements_ko.java file only defines KSC5601-1987 characters. It has to be updated to include Korean Unicode characters.