Impostare un charset predefinito per un file specifici con Apache

Nel tutorial di oggi vedremo come impostare un charset predefinito per dei file specifici con Apache.
Per fare quanto detto Utilizzeremo la direttiva AddCharset che ci permetterą di impostare un determinato charset (nel caso specifico UTF-8) a un file.

 
AddDefaultCharset UTF-8
AddCharset UTF-8        .html
AddCharset UTF-8        .php