IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

les caracteres arabe sont illisibles


Sujet :

EDI, CMS, Outils, Scripts et API PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Inscrit en
    Septembre 2008
    Messages
    66
    Détails du profil
    Informations forums :
    Inscription : Septembre 2008
    Messages : 66
    Par défaut les caracteres arabe sont illisibles
    Bonjour
    je suis entrain de ravailler un site en arabe avec joomla
    en page index.php il y'a des phrases écrites en arabe mais ils sont affichés
    comme ça( 'D,EGH1J) 'D*HF3J).
    j'ai mis le code
    header('Content-Type: text/html; charset=UTF-8');
    mais toujours ça marche pas
    et voici mon code
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    <?php
    header('Content-Type: text/html; charset=UTF-8');
    /**
     * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
     * @license		GNU/GPL, see LICENSE.php
     * Joomla! is free software. This version may have been modified pursuant
     * to the GNU General Public License, and as distributed it includes or
     * is derivative of works licensed under the GNU General Public License or
     * other free or open source software licenses.
     * See COPYRIGHT.php for copyright notices and details.
     */
     
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted access' );
     
    ?>
    <!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
     
    <jdoc:include type="head" />
     
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/systeo/css/template.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
    <![endif]-->
     
    <!--[if lte IE 7]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" />
    <![endif]-->
     
    <style type="text/css">
     
    td img {display: block;}td img {display: block;}
    .Style1 {
    	color: #000000;
    	font-weight: bold;
    	font-size: 10px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    }
    .Style3 {
    	font-size: 10px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	color: #000000;
    }
    .Style4 {color: #FF0000; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; }
    .Style5 {color: #cb0003}
    .Style6 {color: #cb0003; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; }
    </style>
    <script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <SCRIPT LANGUAGE="JavaScript">
    function favoris() {
    if ( navigator.appName != 'Microsoft Internet Explorer' )
    { window.sidebar.addPanel("exemple","http://francois.jamart.free.fr/",""); }
    else { window.external.AddFavorite("http://francois.jamart.free.fr/","exemple"); } }
    </SCRIPT>
    </head>

  2. #2
    Membre Expert Avatar de Fench
    Homme Profil pro
    Chercheur en informatique
    Inscrit en
    Mai 2002
    Messages
    2 353
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Groenland

    Informations professionnelles :
    Activité : Chercheur en informatique
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Mai 2002
    Messages : 2 353
    Par défaut
    Salut,

    Essayes d'ajouter la langue arable avec le tag 'meta' dans l'entête
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <meta http-equiv="Content-Language" content="fr","ar-tn">

  3. #3
    Membre confirmé
    Inscrit en
    Septembre 2008
    Messages
    66
    Détails du profil
    Informations forums :
    Inscription : Septembre 2008
    Messages : 66
    Par défaut
    bonjour
    desole pour le retard mais j'étais malade
    donc pour mon problème ça marche pas malgré que j'ai ajouté le code

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    <?php
     
    /**
     * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
     * @license		GNU/GPL, see LICENSE.php
     * Joomla! is free software. This version may have been modified pursuant
     * to the GNU General Public License, and as distributed it includes or
     * is derivative of works licensed under the GNU General Public License or
     * other free or open source software licenses.
     * See COPYRIGHT.php for copyright notices and details.
     */
     
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted access' );
     
    ?>
    <!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
     <meta http-equiv="Content-Language" content="fr","ar-tn">
    <jdoc:include type="head" />
     
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/systeo/css/template.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
    <![endif]-->
     
    <!--[if lte IE 7]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" />
    <![endif]-->
     
    <style type="text/css">
     
    td img {display: block;}td img {display: block;}
    .Style1 {
    	color: #000000;
    	font-weight: bold;
    	font-size: 10px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    }
    .Style3 {
    	font-size: 10px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	color: #000000;
    }
    .Style4 {color: #FF0000; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; }
    .Style5 {color: #cb0003}
    .Style6 {color: #cb0003; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; }
    </style>
    <script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <SCRIPT LANGUAGE="JavaScript">
    function favoris() {
    if ( navigator.appName != 'Microsoft Internet Explorer' )
    { window.sidebar.addPanel("exemple","http://francois.jamart.free.fr/",""); }
    else { window.external.AddFavorite("http://francois.jamart.free.fr/","exemple"); } }
    </SCRIPT>
    </head>
    est ce qu'il y'a un erreur ou quoi?

Discussions similaires

  1. Réponses: 5
    Dernier message: 02/07/2007, 11h23
  2. [vb6]:Recuperer les caracteres qui sont dans un fichier text
    Par flav66 dans le forum VB 6 et antérieur
    Réponses: 7
    Dernier message: 23/10/2006, 08h44
  3. Réponses: 22
    Dernier message: 24/08/2005, 18h27
  4. Quels sont les caracteres interdits dans ACCESS?
    Par DocA dans le forum Access
    Réponses: 14
    Dernier message: 17/06/2005, 14h33
  5. Recherche programme qui convertit les chiffres arabes en nb
    Par oli57 dans le forum Algorithmes et structures de données
    Réponses: 5
    Dernier message: 15/06/2002, 03h11

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo