Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169 CSS Tutorial - Interludium - Character Sets

Character Set Encoding

Another item that usually and wrongly gets dropped is the Character Set Encoding. It is important to declare in which character set the page is encoded... This is talking about Umlauts like ä and the likes... If one is using only english, the page may be encoded in ISO-8859-1 (Latin-1), if you're using plenty of 'weird characters', and you're from a place called 'Old Europe' then you might want to try Windows-1252. If you're from Japan, Korea, Punjab or any other place that doesn't even use the (to me normal) latin alphabet, you're better checking out this W3C list of charsets.

You can put your encoding into a meta tag in the <head> section of the web page. Like so:

<meta http-equiv="Content-type" content="text/html; charset=Windows-1252" />