Tu peux forcer le charset dans les header en php. Voici des exemples:
Code :
// set content type:
header('Content-Type: text/html; charset=iso-8859-1');
header('Content-Type: text/html; charset=utf-8');
header('Content-Type: text/plain'); // plain text file
header('Content-Type: image/jpeg'); // JPG picture
header('Content-Type: application/zip'); // ZIP file
header('Content-Type: application/pdf'); // PDF file
header('Content-Type: audio/mpeg'); // Audio MPEG (MP3,...) file
header('Content-Type: application/x-shockwave-flash'); // Flash animation
Les lignes qui modifient le header doivent être exécutées avant que tu commence à envoyer autre chose au client. Les headers sont toujours settés avant de recevoir du contenu.
Il y a des extensions pour Firefox qui permettent de voir les entêtes http. Voici un exemple:
http://www.getfirebug.com/