M
M
mindgrow2020-04-22 08:22:37
ASP.NET
mindgrow, 2020-04-22 08:22:37

How to fix Cyrillic display error in Ant React Notification?

I use react ant pop-up messages:
https://ant.design/components/notification/

When you enter Cyrillic in these messages, the display is as in the picture: I
5e9fd44e4bf94424782554.png

specify the text of the message in the js file.
I work in visual studio asp net core.

In the past, I remember problems when the Cyrillic alphabet from the js file was not displayed correctly, so the feeling is that there is something with js files.

How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2020-04-22
@mindgrow

first, print the same thing to the console, directly the same variable that you put in the notification,
and see how it will be there.
Further - according to the results, if the same koryabushki - then the question is to your text (maybe it's not in Unicode or something)
if everything is ok - then dig into the library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question