Accentuation XHTML !

Résolu/Fermé
Utilisateur anonyme - 26 déc. 2011 à 22:50
 Utilisateur anonyme - 26 déc. 2011 à 23:09
Bonjour,

j'arrive pas a afficher les accents correctement ...
exemple : au lieu d'afficher "Création / Gestion : Gabriel G. | Copyright © 2011 - Tous droits réservés" sa afficher "Cr?ation / Gestion : Gabriel G. | Copyright ? 2011 - Tous droits r?serv?s".

j'ai pourtant bien mes "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
<head>
<title>Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" type="images/ico" href="images/favicon.ico" />
<meta http-equiv="Content-Language" content="fr" />


Merci

2 réponses

avion-f16 Messages postés 19249 Date d'inscription dimanche 17 février 2008 Statut Contributeur Dernière intervention 15 juin 2024 4 503
26 déc. 2011 à 23:04
Salut,

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Et ton fichier est encodé en ISO-8859-1 (ou semblable).

1) Soit tu remplaces « utf-8 » par « iso-8859-1 »
2) Ou tu réenregistres le fichier en UTF-8 (Unicode)
1
Utilisateur anonyme
26 déc. 2011 à 23:09
C'est bon merci !
0
djjoman Messages postés 210 Date d'inscription vendredi 22 juillet 2011 Statut Membre Dernière intervention 14 avril 2014 26
26 déc. 2011 à 22:57
Bonsoir voici un lien qui pourra vous aider :
https://www.commentcamarche.net/contents/489-caracteres-speciaux-html
0