When writing HTML, make sure that your meta
charset tag is in the first 1024 bytes on the page.
element declaring the encoding must be inside the element and within the first 1024 bytes of the HTML as some browsers only look at those bytes before choosing an encoding.
What does this mean practically? Keep this tag near the top of your document, and use a website validator like https://validator.w3.org to check your tag placement.