DEV Community

Discussion on: How to localize texts in your client-side Blazor WebAssembly App?

Collapse
 
j_sakamoto profile image
jsakamoto

Did you save the json file with utf-8 encoding?

If you upload the json file that can reproduce your problem to somewhere public cloud storage, then I can investigate it.

Collapse
 
taalkathiri profile image
Tarik Alkathiri • Edited

Dear jsakamoto
Thank you very much for your reply.
I just opened the json file in notepad and saved it as text with utf-8 encoding
then i renamed it in the solution to .json and it works fine and shows the arabic character.
Thank you very much for your effort, and sorry for troubling you.
P.S. Do I have to do that with every json file or there is a better way.

Thread Thread
 
j_sakamoto profile image
jsakamoto

P.S. Do I have to do that with every json file or there is a better way.

How about using Visual Studio Code for?

Thread Thread
 
taalkathiri profile image
Tarik Alkathiri

Thank you very much.
The Visual Studio Code did the job well, it shows the right characters.