I am trying to alert bold text and here nulll suggested using bold unicode.
So I tried:
alert(' '); and it worked as expected. But when I tried to use the exact same thing in a different document, it alerts this:
ð—¡ð—¼ð˜ð—µð—¶ð—»ð—´ ð˜ð—¼ ð—±ð—¼ð˜„ð—»ð—¹ð—¼ð—®ð—±
What am doing wrong and why does it work in a different document with the exact same code?
Thank you in advance and sorry for my English
Ok, so i found the solution, and it's pretty simple. All you need to do is just put
<meta charset="UTF-8">in the document head.That works for me.