You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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 of SortKey could be an alternative to the original, locale-sensitive SortKey. 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.
Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.
Issue Details
#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 of SortKey could be an alternative to the original, locale-sensitive SortKey. 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.
Author:
ilonatommy
Assignees:
-
Labels:
arch-wasm, area-System.Globalization
Milestone:
-
ghost
added
the
untriaged
New issue has not been triaged by the area owner
label
Dec 12, 2023
ghost
added
in-pr
There is an active PR which will close this issue when it is merged
and removed
in-pr
There is an active PR which will close this issue when it is merged
labels
Dec 29, 2023
#95920 updated the doc with APIs that are throwing PlatformNotSupportedException by design. Consider:
SortKey
in HybridGlobalizationSortKey
: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.CompareOptions
:Old issue discussing the possibilities:
#84621
The text was updated successfully, but these errors were encountered: