Blazored / Toast

A JavaScript free toast library for Blazor and Razor Component applications
https://blazored.github.io/Toast/
MIT License
663 stars 92 forks source link

[Bug] Unicode Characters are displayed as Question Marks #100

Closed malhabibi closed 3 years ago

malhabibi commented 3 years ago

Describe the bug I tried to use the following code <button class="btn btn-info" @onclick="@(() => ToastService.ShowInfo("بسم الله الرحمن الرحيم", "ملاحظة"))">Info Toast But it's displayed incorrectly.

Screenshots image

Hosting Model (is this issue happening with a certain hosting model?):

malhabibi commented 3 years ago

Describe the bug I tried to use the following code <button class="btn btn-info" @OnClick="@(() => ToastService.ShowInfo("بسم الله الرحمن الرحيم", "ملاحظة"))">Info Toast But it's displayed incorrectly.

Screenshots image

Hosting Model (is this issue happening with a certain hosting model?):

* Blazor WebAssembly

Changing the razor file encoding to UTF8 solve the problem.