-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Enable ICU in blazor #24174
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
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
Milestone
Comments
Thanks @lewing. Is this available in the p8 branch? |
not yet, merge to p8 pr soon |
@pranavkm @mkArtakMSFT merged in preview8 now |
3dots
pushed a commit
to 3dots/aspnetcore-Web.JS
that referenced
this issue
Feb 19, 2024
…Blazor WASM Revive support for globalization and localization in Blazor WASM * Load icu and timezone data files * Unskip tests Fixes dotnet/aspnetcore#24174 Fixes dotnet/aspnetcore#22975 Fixes dotnet/aspnetcore#23260
3dots
pushed a commit
to 3dots/aspnetcore-Web.JS
that referenced
this issue
Feb 19, 2024
…Blazor WASM Revive support for globalization and localization in Blazor WASM * Load icu and timezone data files * Unskip tests Fixes dotnet/aspnetcore#24174 Fixes dotnet/aspnetcore#22975 Fixes dotnet/aspnetcore#23260
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
Uh oh!
There was an error while loading. Please reload this page.
Since the blazor platform code calls directly into the runtime rather than using the normal initialization code it doesn't have the logic to load the icudt.dat file into the runtime that is required to enable icu. It will need to copy
icudt.dat
from the runtime pack and insert it into memory usingoffset = this.mono_wasm_load_bytes_into_heap (bytes)
andthis.mono_wasm_load_icu_data (offset)
and only do the logic in #24163 if that file doesn't existThe text was updated successfully, but these errors were encountered: