I am using sweetalert2 in a project, I am displaying Arabic text on the pop up. However, the text shown is not being encoded correctly. I have already added the meta tag to the head of the website, the whole page is showing the text correctly, except for the text on the pop up.
Asked
Active
Viewed 61 times
0
-
The META tag is possibly the most irrelevant bit. You need to actually use UTF-8 everywhere, not just declare you're doing it. – Álvaro González Mar 28 '23 at 08:06
-
Can you please clarify more about what you mean? – Osama El-Masri Mar 28 '23 at 08:16
-
See [UTF-8 all the way through](https://stackoverflow.com/questions/279170/utf-8-all-the-way-through) for a list of checks. – Álvaro González Mar 28 '23 at 08:24