Bonjour
Je passe le site en xhtml donc
j'ai changer le type dans la base de donnée pour la mettre en utf8_general_ci
j'ai changer le doctype :
mais quand je le passe au w3c validator
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 echo"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; echo"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; echo"<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\" lang=\"fr-FR\">\n";
j'ai une erreur
mais je ne vois rien sur cette ligne,Sorry, I am unable to validate this document because on line 61 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: utf8 "\xE9" does not map to Unicode
si je savais quel genre d'information il ne comprend pas comme utf8
d'avance merci
Partager