chars[0] = ch ; chars[1] = (char) (ch + 1) ;
result &= testCompareString(chars, col) ;
}
log.println(" #### Testing China locale ####") ;
oObj.loadDefaultCollator(new Locale("zh", "CN", ""), 0) ;
col = Collator.getInstance(new java.util.Locale("zh", "CN")) ;
for (char ch = 0x4E00; ch < 0x4EFD; ch ++) {
chars[0] = ch ; chars[1] = (char) (ch + 1) ;
result &= testCompareString(chars, col) ;
}
log.println(" #### Testing Korean locale ####") ;
oObj.loadDefaultCollator(new Locale("ko", "KR", ""), 0) ;
col = Collator.getInstance(new java.util.Locale("ko", "KR")) ;
for (char ch = 0x4E00; ch < 0x4EFD; ch ++) {
chars[0] = ch ; chars[1] = (char) (ch + 1) ;
result &= testCompareString(chars, col) ;
}