-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
CultureInfo.TextInfo.IsRightToLeft returns false for Uyghur culture in Blazor WebAssembly #110015
Comments
Tagging subscribers to this area: @dotnet/area-system-globalization |
Tagging subscribers to 'arch-wasm': @lewing |
|
This issue has been marked |
This issue has been automatically marked |
This issue will now be closed since it had been marked |
Is there an existing issue for this?
Describe the bug
I have encountered an issue with the
CultureInfo.TextInfo.IsRightToLeft
property in Blazor WebAssembly. Specifically, when using the Uyghur culture (ug-CN)
, theIsRightToLeft
property returnsfalse
, which is not the expected behavior since Uyghur is a right-to-left language.In Blazor WebAssembly, the following code snippet returns
false
:This behavior may affect the rendering of Uyghur text in Blazor applications, as proper text direction is crucial for correct display and user experience.
If there is a known workaround or if this behavior is expected, please let me know. Otherwise, I would appreciate any guidance on how this issue might be addressed in future updates.
Thank you!
Expected Behavior
For the Uyghur culture (
ug-CN
), I expect theTextInfo.IsRightToLeft
property to returntrue
.Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
9.0.100
Anything else?
No response
The text was updated successfully, but these errors were encountered: