JDK 21 |
---|
21Resolved |
`java.text.Collator` now supports multiple collations for a locale. The type of collation may be specified with the [Unicode collation identifier](https://www.unicode.org/reports/tr35/#UnicodeCollationIdentifier) if the runtime provides an implementation. For example, the `Collator` instance created with the locale `sv-u-co-trad`, traditional collation in the Swedish language, may sort strings, treating `v` and `w` the same.