-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix Full Width Chars Casing #45079
Fix Full Width Chars Casing #45079
Conversation
Tagging subscribers to this area: @tarekgh, @safern, @krwq Issue DetailsWhen using ICU and doing string compare operations on the Full Width Chars, we are customizing the behavior when using The change here is:
|
src/libraries/Native/Unix/System.Globalization.Native/pal_collation.c
Outdated
Show resolved
Hide resolved
src/libraries/Native/Unix/System.Globalization.Native/pal_collation.c
Outdated
Show resolved
Hide resolved
@eerhardt I have addressed your feedback. please let me know if you have any more comments. |
Does this need backport to 5.0? |
@danmosemsft this is limited to small range of characters. So, the plan is to watch if we get more complaints about that and then consider it for servicing at that time especially the fix is not trivial and will be good to have it tested for awhile in 6.0. |
@tarekgh that makes good sense. |
#44789
When using ICU and doing string compare operations on the Full Width Chars, we are customizing the behavior when using
CompareOptions.IgnoreWidth
to equalize the half width with the full width character. When not havingCompareOptions.IgnoreWidth
option but havingCompareOptions.IgnoreCase
we customize the range to make the normal width characters less than the full width characters. This customization broke the casing of the full width characters e.g.a
(\uFF41) ==A
(\uFF21).The change here is: