Closed
Description
#95920 updated the doc with APIs that are throwing PlatformNotSupportedException by design. Consider:
- implementing invariant
SortKey
in HybridGlobalization - changing comparison options to supported ones.
SortKey
:
- JS does not expose API that would give us similar information to
SortKey
Intl.Collator
-based implementation ofSortKey
could be an alternative to the original, locale-sensitiveSortKey
. However, we have no guarantee that the implementation would give similar results and would not cost us too much space.- Invariant SortKey does not cover fully the original, locale-sensitive functionality, however it is the best alternative when it comes to saving space - it's already implemented, we would reuse existing code. Document the changes in behavior.
CompareOptions
:
- some combinations of compare options are not supported (see the doc)
- APIs in other, non-globalization libs use these combinations, becoming not supported
- Check if they would not work equally good with another compare options set that is supported and document the changes in behavior.
Old issue discussing the possibilities:
#84621