Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm][globalization] HybridGlobalization fix bug in change case #86799

Merged
merged 5 commits into from
May 30, 2023

Conversation

ilonatommy
Copy link
Member

@ilonatommy ilonatommy commented May 26, 2023

Fixes #86794.

We should not allow the codepoints to expand because hybrid should work as much similar to ICU as possible.

ICU4C ignores "final sigma rule" (see documentation in the changes). We could support the inccorect ICU behavior but it's costly - e.g. by calling replace("\u03A3", "\u03C3") on each input string.

@ilonatommy ilonatommy requested a review from mkhamoyan May 26, 2023 15:20
@ilonatommy ilonatommy self-assigned this May 26, 2023
@ghost
Copy link

ghost commented May 26, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #86794.

We should not allow the codepoints to expand because hybrid should work as much similar to ICU as possible.

Author: ilonatommy
Assignees: ilonatommy
Labels:

arch-wasm, area-System.Globalization

Milestone: -

@ilonatommy ilonatommy requested a review from pavelsavara May 29, 2023 09:11
@ilonatommy
Copy link
Member Author

ios failures not connected

@ilonatommy ilonatommy merged commit 8154757 into dotnet:main May 30, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[wasm][hybridglobalization] ToUpper/ToLower does not work correctly when the length of character changes
2 participants