Jontas

My digital notepad (notes etc)

Jontas

Main menu

Skip to primary content
  • Home

Post navigation

← Previous Next →

HTML: UTF-8 encoding

Posted on 2010 July 14 by jontas

To get a html page to display UTF-8 encoded text correctly (without setting a default charset) simply add the following to the head of the html page.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

This entry was posted in HTML, PHP5 and tagged charset, html, php, php5, utf-8, xhtml by jontas. Bookmark the permalink.
Proudly powered by WordPress