I have a blog to talk about the trap. http://sim.ivi.co/2011/07/trap-of-case-insensitive-string.html
Xuelei On 7/7/2011 4:53 PM, Xuelei Fan wrote: > On 7/7/2011 4:42 PM, [email protected] wrote: >> I did not check all directories. I think we may need to evaluate them in the >> same CR or according to modules. > Too quick to reply the e-mail. I refer "them" to toUpperCase() and > toLowerCase() methods, rather than the equalsIgnoreCase() methood. > > Xuelei > >> >> Andrew >> >> On Jul 7, 2011, at 4:30 PM, Weijun Wang <[email protected]> wrote: >> >>> Hi Xuelei >>> >>> There are some other places using equalsIgnoreCase(). Is this method safe >>> for all locales? >>> >>> Thanks >>> Max >
