I’m using JavaScript to get the elements under the clicked elements in my website. And I’m sending the content to server side.
But some times, I’m getting some invalid characters like: â€, â–º, etc.
What is the reason for this? And how to correct it?
â€looks like utf-8 being misinterpreted as Windows-1252. Try setting the encoding for your pages:or if you prefer in .htaccess file: