Problème accentuation [Réglé] - Forums de discussion

Navigation

Accueil du forum » (X)HTML / CSS » Problème accentuation [Réglé]


Le sujet

mojchrisProblème accentuation [Réglé]
Par mojchris, le Dimanche 30/04/2006 à 11h08'47
90 messages
Bonjour,
J'ais un petit souci, j'ais créer une page en css avec une include dans laquelle apparait un texte tiré d'un fichier texte(une page admin permet de modifier le texte) par contre j'ais remarqué que le css et les accentuations (é,à etc....) ne font pas bon ménage. Y a t'il un moyen de les faire accepter sans utiliser les caractères spéciaux?
Je mets le code de la page pour faire plus simple:
<? 
session_start
(); 
 include(
"membrepass/config.php"); 
 include(
"membrepass/include/variable.php"); ?> 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > 
<head> 
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> 
<meta http-equiv="Content-Type" content="text/html; CHARSET=iso-8859-1" /> 
<title> </title> 

<style type="text/css"> 
#printhead {display:block;} 
html, body {margin:0; padding:0; width:100%; height:100%; overflow:hidden;} 
body {font-family:verdana, arial, sans-serif; font-size:76%; color:#fff;} 
#head {position:absolute; margin:0; top:0; right:18px; display:block; width:100%; height:80px; background-image: url(images/header1.jpg); font-size:4em; z-index:5; color:#000; border-bottom:1px solid #000;} 
#background{position:absolute; z-index:1; width:100%;} 
#background1{position:absolute; z-index:1; width:467;} 
#scroller {position:absolute; width:100%; height:100%; top:0; left:0; overflow:auto; z-index:2;} 
#content {padding:5px 200px 20px 200px;} 

p {line-height:1.8em; letter-spacing:0.1em; text-align:justify;} 
#fixed {position:absolute; top:100px; left:10px; width:120px; z-index:5; color:#fff; background:#CE6AAA; border:1px solid #ffff00; padding:7px;} 
#fixed1 {position:absolute; top:260px; left:10px; width:120px; height:280px; z-index:5; color:#fff; background:#CE6AAA; border:1px solid #ffff00; padding:7px;} 
#fixed3 {position:absolute; top:110px; right:30px; width:120px; height:400px; z-index:10; color:#fff; background:#CE6AAA; border:1px solid #ffff00; padding:7px;} 
#fixed4 {position:absolute; top:110px; right:30px; width:120px; height:380px; z-index:10; color:#fff; background:#CE6AAA; border:1px solid #ffff00; padding:7px;} 
#fixed5 {position:absolute; top:2px; right:30px; width:470px; height:62px; z-index:10; color:#fff;padding:7px;} 

A.menulink { 
position: absolute; top:75px; 
float:center; 
display: block; 
width: 100px; 
height:20px; 
text-align: center; 
text-decoration: none; 
font-family:arial; 
font-size:12px; 
color: #000000; 
BORDER: 1; 
border: solid 1px #000000; 
background-color:#ffff44; 


A.menulink:hover { 
border: solid 1px #000000; 
background-color:#cc3300; 


</style> 

<script> 

/* 
CSS Menu highlight- By Marc Boussard (marc.boussard@syntegra.fr) 
Modified by DD for NS4 compatibility 
Visit http://www.dynamicdrive.com for this script 
*/ 

var ns4class='' 
</script> 
</STYLE> 


</head> 

<body><? 
        $lecture
=fopen("interact/haut.txt","r"); 

        while (!
feof($lecture)) 
        { 
           
$ligne=fgets($lecture,4096); 
               echo 
stripslashes($ligne).""

        } 
        
fclose($lecture); 
        
?> 


Merci d'avance

________________
mojchris

Les réponses

xersesPar xerses, le Dimanche 30/04/2006 à 12h00'20
666 messages
Où est le problème sur cette page ?
Peux tu nous donner un aperçu de ce que ca donne pour voir là où ca plante?

Merci.

[Message édité par xerses le 01/05/2006 à 00h01'39]

________________
Anything that can go wrong will go wrong (Murphy)
Statut: Modérateur

mojchrisPar mojchris, le Dimanche 30/04/2006 à 12h33'21
90 messages
C'est bon c'est réglé, le problème venait du fait que lorsque je tapais une lettre avec ponctuation il l'a remplaçait par ?
Maitenant tout fonctionne.
Merci

________________
mojchris

1cyrilPar 1cyril, le Dimanche 30/04/2006 à 13h17'42
817 messages

________________
Le Modérateur de Net-Pratique.
Statut: Modérateur

xersesPar xerses, le Lundi 01/05/2006 à 00h02'14
666 messages
De rien si je peux faire autre chose, dis le moi .

________________
Anything that can go wrong will go wrong (Murphy)
Statut: Modérateur

Pages

Réponses les plus anciennes... 1 ...Réponses les plus récentes

A lire également

- Les conditions générales d'utilisation du site

Top-sites membres

Méta Annuaire | 9 pointsBlogHotel - Hébergement de Blog gratuit | -13 pointsAnnuaire French Business | -15 points01 Dépannage et maintenance informatique Paris RP | -15 points

Discussions récentes dans les forums

Sujet Forum
xersesRe: Espace-Membre : pb connexion
Réponse postée par xerses le 13/10/2008 à 12h41'06
Développement » PHP
toutsi83Espace-Membre : pb URL's [Réglé]
Sujet posté par toutsi83 le 07/10/2008 à 12h33'17
Développement » PHP
roucroune[Travail Rémunéré] 7 designs salon coiffure
Sujet posté par roucroune le 03/10/2008 à 20h01'26
Graphisme / Photographie » Webdesign
rerRe: Mon site en php
Réponse postée par rer le 03/10/2008 à 19h43'26
Développement » PHP
xersesRe: livre d'or aide
Réponse postée par xerses le 30/09/2008 à 08h33'00
Net-Pratique.fr » Informations
froogyRe: Un ptit jeu
Réponse postée par froogy le 13/09/2008 à 13h21'45
Le comptoir » Le bar
iskivnetRe: Programmeur recherche partenaire webdesigner
Réponse postée par iskivnet le 12/09/2008 à 20h11'31
Graphisme / Photographie » Webdesign
gurney1138Echange liens : famille, écologie
Sujet posté par gurney1138 le 02/09/2008 à 21h28'25
Le comptoir » Echange de liens / Recherche de partenaires
omegatvURGENT (92) : WebTV recherche DEVELOPPEUR/WEMASTER (H/F)
Sujet posté par omegatv le 02/09/2008 à 10h34'49
Le comptoir » Annonces
jimmyRe: échange cours Anglais/webdeveloper
Réponse postée par jimmy le 31/08/2008 à 20h57'16
Le comptoir » Annonces
Membres
Pseudo:
Pass: Mémoriser ?
Problème d'identificationInscription gratuite
Tribune libre
CNIL: 1098091
Connectés: 12