Probleme accent sur mon site [Résolu]

Résolu/Fermé
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010 - Modifié par tchad34 le 5/11/2010 à 16:55
Lord Zero Messages postés 459 Date d'inscription lundi 18 octobre 2010 Statut Membre Dernière intervention 15 juin 2018 - 5 nov. 2010 à 17:08
Bonjour,






Voila j'ai un problème accent sur mon site

j'ai le code qui faut mettre après plusieurs recherche mais je ces pas ou le mettre sur le site pour éviter d'avoir les 'é' en '?'

Merci de votre aide !!
A voir également:

11 réponses

Lord Zero Messages postés 459 Date d'inscription lundi 18 octobre 2010 Statut Membre Dernière intervention 15 juin 2018 115
4 nov. 2010 à 22:24
c'est quoi le code? sans ça on pourra pas te dire ou il va
0
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
4 nov. 2010 à 22:33
Oui désolé voici mon code

<meta http-equiv="content-type" content="text/html; charset=utf-8" />


Mais ou le mettre

Voici le lien de mon site pour te monter ce que ca donne

http://c-party.kegtux.org/index.php?op=edito

Merci d'avance
0
bissdebrazza Messages postés 2065 Date d'inscription vendredi 29 juin 2007 Statut Contributeur Dernière intervention 7 décembre 2017 712
4 nov. 2010 à 23:11
Bonjour!
Il faut ton code entre les balises <head> et </head> c'est-à-dire:
<head>
<title>.............</tittle>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
</head>

Cdt
0
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
5 nov. 2010 à 00:02
Ok merci pour ton aide mais ou je place ce code ?

Quelle page ? ou sur le site ? a quelle endroit exact ?

Je découvre petit a petit ce monde la alors la je suis un peut perdu

en attente de ta réponse merci d'avance !
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
5 nov. 2010 à 00:39
merci pour ta réponse mais je le situe ou ??? car je c pas du tout
0
dans chacune des pages de ton site voyons !!
chaque page est formé de la sorte :
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
0
Lord Zero Messages postés 459 Date d'inscription lundi 18 octobre 2010 Statut Membre Dernière intervention 15 juin 2018 115
Modifié par Lord Zero le 5/11/2010 à 15:38
Dans l'idéal toute tes page doivent contenir cette balise meta
comme ceci :

<!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'> 

<head> 
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' /> 
<title>TITRE DE TA PAGE</title> 
</head> 


placé en début de chaque page.
Développeur VB6, VBS, VBA, VB.NET, C#, HTML, PHP, JAVASCRIPT, SQL.
0
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
5 nov. 2010 à 16:39
ok merci pour ton aide alors ceci ce place sur les page html c'est bien ca ?
0
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
5 nov. 2010 à 16:45
Voici mon index.php par exemple
______________________________________________________________
<?php
/************************************************************************/
/* DUNE by NPDS                                                         */
/* ===========================                                          */
/*                                                                      */
/* Based on PhpNuke 4.x source code                                     */
/*                                                                      */
/* NPDS Copyright (c) 2002-2010 by Philippe Brunier                     */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
// Modification pour IZ-Xinstall - EBH - JPB & PHR
if (file_exists("IZ-Xinstall.ok")) {
   if (file_exists("install.php") OR is_dir("install")) {
	  echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
      ."<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
      ."<title>NPDS IZ-Xinstall - Installation &amp; Configuration</title>\n";
      echo "<html>\n<body>\n"
         ."<div style=\"text-align: center; font-size: 20px; font-family: Arial; font-weight: bold; color: #000000\"><br />NPDS IZ-Xinstall - Installation &amp; Configuration</div>"
         ."<div style=\"text-align: center; font-size: 20px; font-family: Arial; font-weight: bold; color: #FF0000\"><br />\n"
         ."Vous devez supprimer le répertoire 'install' ET le fichier 'install.php' avant de poursuivre !<br /><br />\n"
         ."You must remove the directory 'install' as well as the file 'install.php before continuing!\n"
         ."</div>\n</body>\n</html>\n";
      die();<code>

______________________________________________________________

Ou je le situe en debut dans la page j'ai essayer mais j'ai une erreur
0
tchad34 Messages postés 7 Date d'inscription jeudi 4 novembre 2010 Statut Membre Dernière intervention 5 novembre 2010
5 nov. 2010 à 16:54
J'ai trouver j'ai placer juste cet phrase en début de page ma page php

<? header('Content-Type: text/html; charset=ISO-8859-1'); ?>

et c'est régler merci encore pour toutes vos explication !

cela ma beaucoup aider
0
Lord Zero Messages postés 459 Date d'inscription lundi 18 octobre 2010 Statut Membre Dernière intervention 15 juin 2018 115
5 nov. 2010 à 17:08
pas besoin de le mettre en echo
tu le met en debut de chaque page html ou php c'est pareil

<!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'> 

<head> 
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' /> 
<title>TITRE DE TA PAGE</title> 
</head>

<body>
<?php

?>
</body>
</html>


Après tu met ton php dans les balise php.
0