jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-260) Avoid the "Turkish Locale Problem"
Date Mon, 20 Aug 2012 17:57:38 GMT

    [ 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:


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


View raw message