Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix French Decimal number parsing #25154

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Jun 13, 2019

Fixes https://github.com/dotnet/corefx/issues/38455

ICU used to use 0xA0 character as a number group separator for French cultures but in newer versions (63 and up), this has changed to use a different character 0x202F. We have a special handling for parsing decimal number with such culture to treat the space (0x20) as a separator and we were handling 0xA0. Now, we need to add 0x202F too.

@tarekgh
Copy link
Member Author

tarekgh commented Jun 13, 2019

CC @tannergooding @krwq

@tarekgh tarekgh merged commit c65b784 into dotnet:master Jun 14, 2019
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/corert that referenced this pull request Jun 17, 2019
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/mono that referenced this pull request Jun 17, 2019
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
jkotas pushed a commit to dotnet/corert that referenced this pull request Jun 18, 2019
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/corefx that referenced this pull request Jun 27, 2019
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
jkotas pushed a commit to dotnet/corefx that referenced this pull request Jun 28, 2019
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decimal.Parse with culture does not allows spaces inside numbers with libicu64
2 participants