Probleme accent sur mon site [Résolu]

Résolu
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 !!

11 réponses

  1. c'est quoi le code? sans ça on pourra pas te dire ou il va
    0
    1. 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
      1. Contributeur
        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
        1. 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
          1. merci pour ta réponse mais je le situe ou ??? car je c pas du tout
            0
            1. dans chacune des pages de ton site voyons !!
              chaque page est formé de la sorte :
              <html>
              <head>
              <title>
              </title>
              </head>
              <body>
              </body>
              </html>
              0
              1. 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
                1. ok merci pour ton aide alors ceci ce place sur les page html c'est bien ca ?
                  0
                  1. 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
                    1. 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
                      1. 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