Skip to main content
Noble Desktop/1 min read

Proper Character Encoding with Unicode

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.

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.