Владимир Ларин ([info]vlarine) wrote,
@ 2008-08-29 13:59:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
А-ха-ха
http://community.livejournal.com/ru_java/700574.html

Цитата из java.lang.String:

if (ignoreCase) {
// If characters don't match but case may be ignored,
// try converting both characters to uppercase.
// If the results match, then the comparison scan should
// continue.
char u1 = Character.toUpperCase(c1);
char u2 = Character.toUpperCase(c2);
if (u1 == u2) {
continue;
}
// Unfortunately, conversion to uppercase does not work properly
// for the Georgian alphabet, which has strange rules about case
// conversion.
So we need to make one last check before
// exiting.
if (Character.toLowerCase(u1) == Character.toLowerCase(u2)) {
continue;
}



(Post a new comment)


[info]atly
2008-08-29 10:09 am UTC (link)
вот, всюду от грузин беды :)

(Reply to this) (Thread)


[info]vlarine
2008-08-29 10:16 am UTC (link)
Ага, раньше вот от евреев житья не было, а теперь еще и грузины. Совсем скоро руССким поцреотам жытья не будет.

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…