▲ | johnyzee 17 hours ago | |||||||
Ugh, I've had the exact same problem in a Java project, which meant I had to go through thousands and thousands of lines of code and make sure that all 'toLowerCase()' on enum names included Locale.ENGLISH as parameter. As the article demonstrates, the error manifests in a completely inscrutable way. But once I saw the bug from a couple of users with Turkish sounding names, I zeroed in on it. And cursed a few times under my breath whoever messed up that character table so bad. | ||||||||
▲ | nradov 17 hours ago | parent [-] | |||||||
Were you not using static analysis tools? All of the popular ones will warn about that issue with locales. | ||||||||
|