Proper Character Encoding with Unicode

Ensuring Special Characters Display Correctly on Your Website

To ensure special characters display properly on your website, do one of the following:

  • Add <meta charset="UTF-8"> into the <head> of every HTML page.
  • Instead of adding the above code into every HTML page, you can configure your server to include it in the header. Go to the HTML5 Boilerplate .htaccess file and copy the Character encodings section. Paste it into your server's .htaccess file.

Learn more web development in our certificate program.

  

Topics

Learn more in these courses

Back to Blog
Yelp Facebook LinkedIn YouTube Twitter Instagram