[
https://issues.apache.org/jira/browse/OAK-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438038#comment-13438038
]
Julian Reschke commented on OAK-260:
------------------------------------
For the record, the contract for equalsIgnoreCase:
http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#equalsIgnoreCase%28java.lang.String%29
This may do the right thing for the Turkish locale, but I'm not totally
convinced it couldn't fail with other fancy locales. It's probably better to
always specify the locale.
> Avoid the "Turkish Locale Problem"
> ----------------------------------
>
> Key: OAK-260
> URL: https://issues.apache.org/jira/browse/OAK-260
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Thomas Mueller
>
> We currently use String.toUpperCase() and String.toLowerCase() and in some
> cases where it is not appropriate. When running using the Turkish profile,
> this will not work as expected. See also
> http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug
> Problematic are String.toUpperCase(), String.toLowerCase().
> String.equalsIgnoreCase(..) isn't a problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira