Replies: 4 comments 4 replies
-
|
You should not be testing the result of formatting with "real" cultures. The rules can change at any time (typically through a Unicode ICU or an OS update). #117602 (comment) #109409 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
I've never heard of the decimal separator being a comma in a Japanese (ja-JP) environment. What's common in Japan is when it mistakenly defaults to InvariantCulture, but even then the decimal separator remains a period. Isn't this simply an issue where the culture isn't set correctly, causing it to default to your system's culture? Does the issue still occur if you set the locale to ja-JP instead of jp-JP? |
Beta Was this translation helpful? Give feedback.
-
It's zh-CN and ja-JP instead of ch-ZH and jp-JP. |
Beta Was this translation helpful? Give feedback.
-
|
I think i got what I needed :) chank you for responsing. Will close the discussion then. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
After updating our apps and modules to .NET 10, I'm getting failed tests. It seems that the decimal sign is not "." (dot) anymore fore ch-ZH and jp-JP (at least) but "," (comma).
Is this something that changed now or how does that difference come? We have 5 cultures in teh test, these two fail. Don't know if others also are affected. I have seen no changes mentioned in the dotnet update info about CultureInfo changing.
Thanks in advance
Patrick
Beta Was this translation helpful? Give feedback.
All reactions