2
I have a switch case to check the month and had to add a hexcode for the month of March not get problem in the character "ç".
The March string was like this: Mar o
One of the ways to solve the problem would be putting the tag in html, but the code is pure javascript and I can’t set this tag.
I put the hexcode, it worked perfectly, but I would like to know what is the best way to do it.
But are you displaying this value in HTML or console? If it’s in HTML, there’s no reason not to tag charset.
– Woss