Best Practice N°8 - Level 3- Section server
Description
The headers being returned by the server contain information relative to the character set which is being used.
Objectives
Makes it possible for the navigator to apply the appropriate character encoding to display the page.
Possible technical solutions:
The HTTP content-type header charset field is set for example as follows : Content-Type: text/html; charset=iso-8859-1 according to the character set that is being used in the document and to its MIME type.
The W3C has published two tutorials dealing with this question:
Control methods:
Check for the presence of the charset in the Content-Type field returned by the server : http://www.delorie.com/web/headers.html
Put these Best Practices to use.