If you’re building a webpage and you’re seeing characters like
â€™ when you expect to see
', there is a good chance you are not using the correct charset for
'. In this situation you likely want to be using
In an expanded example lets say you have this sentence you’re trying to render as HTML text:
It's the dog's day.
But after rendering you’re seeing this on the page:
Itâ€™s the dogâ€™s day.
In this case try adding a
<meta> tag with the
charset property to your markup as a child node to the
<html lang="en"> <head> <meta charset="UTF-8" /> .....