encodage utf-8 et apparition <br /> inconnu !
Posté : 22 juil. 2008, 14:29
bonjour a tous,
mon doctype:
mon include:
lorsque j'encode mon document "info.php" en utf-8, une espace s'insère juste avant l'include (qui disparait si mon doc est en iso).
si je mate sous firebug, il y a juste un espace visible(environ deux bons <br />), aucun autre element.
voila si quelqun connait ce probleme !
mon doctype:
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>Code : Tout sélectionner
<div id="info"><?php include("info.php");?></div>si je mate sous firebug, il y a juste un espace visible(environ deux bons <br />), aucun autre element.
voila si quelqun connait ce probleme !