sbt / sbt-license-report

Report on licenses used in an sbt project.
89 stars 32 forks source link

add Locale param for `toLowerCase` #112

Closed xuwei-k closed 7 months ago

xuwei-k commented 7 months ago

https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toUpperCase--

Note: This method is locale sensitive, and may produce unexpected results if used for strings that are intended to be interpreted locale independently. Examples are programming language identifiers, protocol keys, and HTML tags. For instance, "title".toUpperCase() in a Turkish locale returns "T\u0130TLE", where '\u0130' is the LATIN CAPITAL LETTER I WITH DOT ABOVE character. To obtain correct results for locale insensitive strings, use toUpperCase(Locale.ROOT).