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

HTML Discussion :

Caractères illisibles HTML


Sujet :

HTML

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé
    Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2007
    Messages
    439
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2007
    Messages : 439
    Par défaut Caractères illisibles HTML
    J'ai un script qui ne fonctionne pas sur IE (mais marche sur FF et GC).
    Il s'agit d'un diaporama d'images.
    On appuie sur next ou prev et ça fait dérouler la photo suivante ou précédente.

    J'utilise un objet microsoft et ce qui est fou c'est que sur IE ca marche pas alors que sur le libre ça marche (monde à l'envers).

    J'ai laissé un message sur msdn :
    http://social.msdn.microsoft.com/For...?prof=required

    Quand je regarde le code source de la page générée ça a l'air clean mais quand j'enregistre la page php sur mon ordinateur (qui devient donc HTML) je vois apparaitre des caractères illisibles (apparaissant sous la forme carré)..

    J'ai essayé en vain de changer l'encodage mais rien n'y fait.
    merci

  2. #2
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Par défaut
    Bonsoir aussi,

    On peut voir la page en ligne ?

  3. #3
    Membre éclairé
    Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2007
    Messages
    439
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2007
    Messages : 439
    Par défaut
    oh oui bien sûr désolé :

    http://seabova.com/show.php?mls_id=569472&type=res

    ainsi que la page php

    merci de votre aide :



    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
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    <?php
     
    include ('connect.php');
    $nombre = 10;
     
    $sql = "SELECT * from residential";
    $where = "";
     
    $LM_MST_MLS_NO = $_GET["mls_id"];
    if($LM_MST_MLS_NO != ""){
    $where = " WHERE MLSNumber = ". $LM_MST_MLS_NO;         
    }
    $sql = $sql . $where;
     
     
    $result = mysql_query($sql);
    $rows = mysql_num_rows($result);
     
     
    ?>
     
    <BODY onLoad="SLIDES.update()">
    	<SCRIPT type="text/javascript" src="javascript/slideshow.js"></SCRIPT>
     
     
     
    <?php
            
                                    
                                    while($e = mysql_fetch_array($result,MYSQL_ASSOC)){
     
     
                                                    $mlsNumber = $e["MLSNumber"];
                                                    $bedRooms  = $e["#Bedrooms"];
                                                    $price  = $e["PriceListing"];
     
     
     
                                                    $longueur = strlen($price);
     
                                    if($longueur>3 and $longueur<7){
                                            
                                            if($longueur == 4){
                                                    $final = substr($price, 0,1);
                                                    $middle = substr($price, 1,3);
                                                            
                                            }
     
                                            if($longueur == 5){
                                                    $final = substr($price, 0,2);
                                                    $middle = substr($price, 2,3);
                                                            
                                            }
     
     
                                            if($longueur == 6){
                                                    $final = substr($price, 0,3);
                                                    $middle = substr($price, 3,3);
                                                            
                                            }
     
     
                                            $dollar = $final.",".$middle; 
     
     
                                    }
     
                                    if($longueur>6 and $longueur<10){
     
                                            
                                            if($longueur == 7){
                                                    $final = substr($price, 0,1);
                                                    $middle = substr($price, 1,3);
                                                    $beginning = substr($price, 4,3);
                                                            
                                            }
     
                                            if($longueur == 8){
                                                    $final = substr($price, 0,2);
                                                    $middle = substr($price, 2,3);
                                                    $beginning = substr($price, 5,3);                       
                                            }
     
                                                            if($longueur == 9){
                                                    $final = substr($price, 0,3);
                                                    $middle = substr($price, 3,3);
                                                    $beginning = substr($price, 6,3);                       
                                            }
     
     
     
     
                                                    $dollar = $final.",".$middle.",".$beginning; 
                                            }
                                            $price = "$".$dollar; 
     
     
     
     
     
     
     
                                                    $baths  = $e["#Baths"];
                                                    $extendedType  = $e["EXTERIORTYPE"]; 
                                                    $financing  = $e["FINANCING"];
                                                    $lotDim  = ""; //
                                                    $dwelling  = ""; //
                                                    $interior  = $e["INTERIOR FEATURES"];
                                                    $porsh  = $e["PORCH/PATIO/DECK"]; //to check
                                                    $style  = $e["STYLE"];
                                                    $remarks  = $e["Remarks"];
                                                    $schoolDist  = $e["SCHOOLDIST"];
                                                    $building  = ""; //
                                                    $communauty  = ""; //
                                                    $zipCode  = $e["AddressZipCode"];
                                                    $state  = $e["AddressState"];
                                                    $city  = $e["AddressCity"];
                                                    $address  = $e["AddressStreetName"]; // to check
                                                    $section  = $e["Section"];
                                                    $furnished  = ""; //
                                                    $floors  = $e["FloorsPerUnit"];
                                                    $halfbaths  = $e["#Half-Baths"];
                                                    $virtualTour  = $e["VirtualTourURL"];
                                                    if($virtualTour != ""){
                                                            $virtualTour = "<a href='".$virtualTour."' target='_blank'>".$virtualTour."</a>";
                                                    }
     
                                                    $appliances  = $e["APPLIANCES"];
                                                    $zoning  = $e["Zoning"];
                                                    $lotDesc  = $e["LOTDESCRIPTION"];
                                                    $listFirm  = $e["ListFirm"];
                                                    $basement  = $e["BASEMENT"];
                                                    $cityLimits  = $e["InsideCityLimits"];
                                                    $attic  = $e["Attic"];
                                                    $dock  = $e["DockType"];
                                                    $parking  = $e["PARKING"];
                                                    $roofing  = $e["ROOFING"];
                                                    $waterView  = ""; //
                                                    $extraFeat  = ""; //
                                                    $waterFront  = $e["Waterfront"];
                                                    $lotSize  = $e["LotSize"];
                                                    $garage  = $e["GARAGE"]; 
                                                    $Amenities  = "";//     
                                                    $constant  = ""; //
                                                    $newConstant   = ""; //
                                                    $historicDistrict  = $e["HistoricalDistrictY/N"];
                                                    $pool  = $e["Pool"];
                                                    $groundRent  = ""; //
                                                    $heating = $e["HEATINGSYSTEM"];
                                                    $sewerFee = $e["SEWER"];
                                                    $cooling  = $e["COOLINGSYSTEM"];
                                                    $waterFee  = ""; //
                                                    $countyTax  = "";
                                                    $flooring  = $e["PRIMARYFLOORING"]; //PRIMARYFLOORING
                                                    $cityTax  = $e["Tax -City/Village"];
                                                    $kitchen  = $e["KITCHEN"];
                                                    $blocks  = $e["BLOCK"];
                                                    $othRooms  = $e["OTHERROOMS"];
                                                    $fireplace  = $e["Fireplace"];
                                                    $sewer  = $e["SEWER"];
                                                    $yearBuilt = $e["YearBuilt"];
                                                    $water  = "";
                                                    $addNotes = $e["AddNotes"];
     
     
                                    ?>
     
    <SCRIPT type="text/javascript">
            <!--
            SLIDES = new slideshow("SLIDES");
     
    <?php
     
    $array = array('a', 'b', 'c', 'd', 'e');
    $haspic = false;
    foreach ($array as $value) {
     
                            $path = "idxfullphotos/".$mlsNumber.$value.".jpg";
                            if (file_exists($path)) {
                            $haspic = true;
                            ?>
                                    SLIDES.add_slide(new slide("<?php echo $path;?>", "")); 
                            <?php
                            }
    }
    ?>                                      
            //-->
            </SCRIPT>
     
    <?php if($haspic){?>
     
    					<div align="center">
     
    					<img name="SLIDESIMG" src="" STYLE="filter:progid:DXImageTransform.Microsoft.Fade()" alt="Beach House Page" width="" height="" border="1"></A><br>
     
    					  <a href="javascript:SLIDES.previous()"><img src="prev.jpg" width="57" border="0" height="15"></a>      		
    					  <a href="javascript:SLIDES.next()"><img src="next.jpg" width="41" border="0" height="15"></a>     
    					</div>
     
    <? } ?>
     
    						<table>
    						 <tr> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>MLS #</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $mlsNumber; ?></td> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>Section</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $section; ?></td> 
     
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle"><b>Listing Price</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $price; ?></td> 
    						  <td width="76" height="15" valign="middle"><b>Community</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $communauty; ?></td>
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>Bedrooms</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $bedRooms; ?></td> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>Address</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $address; ?></td> 
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle"><b>Full Baths</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $baths; ?></td> 
    						  <td width="76" height="15" valign="middle"><b>Building</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $building; ?></td> 
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>Half Baths</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $halfbaths; ?></td> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>Furnished</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $furnished; ?></td> 
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle"><b>Floors</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $floors; ?></td> 
    						  <td width="76" height="15" valign="middle"><b>School Dist.</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $schoolDist; ?></td> 
    						 </tr> 
    						 <tr> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>City</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $city; ?></td> 
    						  <td width="76" height="15" valign="middle" bgcolor="#efefef"><b>State</b></td> 
    						  <td width="30" height="15" valign="middle" bgcolor="#efefef"><?php echo $state; ?></td> 
    						 </tr>  
    						 <tr> 
    						  <td width="76" height="15" valign="middle"><b>Zip Code</b></td> 
    						  <td width="30" height="15" valign="middle"><?php echo $zipCode; ?></td> 
    						 </tr>  
    						</table></td>
     
    		<table width="345" border="0" cellspacing="0" cellpadding="1"> 
    		 <tr> 
    		  <td colspan="4"><b>Remarks:</b><br><?php echo $remarks; ?></td> 
    		 </tr>
    		  <tr> 
    		  <td colspan="4"><b>Additionnal Notes:</b><br><?php echo $addNotes; ?></td> 
    		 </tr>
    		 <tr> 
    		  <td colspan="4">&nbsp;</td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td width="86" bgcolor="#efefef" valign="top"><b>Style</b></td> 
    		  <td width="61" height="15" bgcolor="#efefef"><?php echo $style; ?></td> 
    		  <td width="97" valign="top" bgcolor="#efefef"><b>Lot Dim</b></td> 
    		  <td width="93" height="15"><?php echo $lotDim; ?></td>  
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Ext. Type</b></td> 
    		  <td height="15"><?php echo $extendedType; ?></td> 
    		  <td height="15" valign="top"><b>Financing</b></td> 
    		  <td height="15"><?php echo $financing; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td bgcolor="#efefef" valign="top"><b>Interior</b></td> 
    		  <td height="15" bgcolor="#efefef"><?php echo $interior; ?></td> 
    		  <td bgcolor="#efefef" valign="top"><b>Amenities</b></td>
     
    	    <td height="15" bgcolor="#efefef"><?php echo $Amenities; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Garage</b></td> 
    		  <td height="15"><?php echo $garage; ?></td> 
    		  <td height="15" valign="top"><b>Lot Size</b></td> 
    		  <td height="15"><?php echo $lotSize; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td bgcolor="#efefef" valign="top"><b>Parking</b></td> 
    		  <td height="15" bgcolor="#efefef"><?php echo $parking; ?></td> 
    		  <td bgcolor="#efefef" valign="top"><b>Lot Size</b></td> 
    		  <td height="15"><?php echo $lotSize; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Porch/Deck</b></td> 
    		  <td height="15"><?php echo $porsh; ?></td> 
    		  <td height="15" valign="top"><b>Dwelling</b></td> 
    	  	<td height="15"><?php echo $dwelling; ?></td> 
    		 </tr> 
    	   <tr bgcolor="#efefef"> 
    	    <td bgcolor="#efefef" valign="top"><b>Oth Rms</b></td>
     
    	    <td height="15" bgcolor="#efefef"><?php echo $othRooms; ?></td> 
    	    <td bgcolor="#efefef" valign="top"><b>Blocks to Ocean</b></td> 
    	    <td height="15"><?php echo $blocks; ?></td> 
    	   </tr> 
    	   <tr> 
    	    <td height="15" valign="top"><b>Kitchen</b></td> 
    		  <td height="15"><?php echo $kitchen; ?></td> 
    		  <td height="15" valign="top"><b>City Tax</b></td> 
    		  <td height="15"><?php echo $cityTax; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td bgcolor="#efefef" valign="top"><b>Flooring</b></td> 
    		  <td height="15" bgcolor="#efefef"><?php echo $flooring; ?></td> 
    		  <td bgcolor="#efefef" valign="top"><b>County Tax</b></td> 
    		  <td height="15"><?php echo $countyTax; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Fireplace</b></td> 
    		  <td height="15"><?php echo $fireplace; ?></td> 
    		  <td height="15" valign="top"><b>Water Fee</b></td> 
    		  <td height="15"><?php echo $waterFee; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td bgcolor="#efefef" valign="top"><b>Cooling</b></td> 
    		  <td height="15" bgcolor="#efefef"><?php echo $cooling; ?></td> 
    		  <td bgcolor="#efefef" valign="top"><b>Sewer Fee</b></td> 
    		  <td height="15"><?php echo $sewerFee; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Heating</b></td> 
    		  <td height="15"><?php echo $heating; ?></td> 
    		  <td height="15" valign="top"><b>Ground Rent</b></td> 
    		  <td height="15"><?php echo $groundRent; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td bgcolor="#efefef" valign="top"><b>Pool</b></td> 
    		  <td height="15" bgcolor="#efefef"><?php echo $pool; ?></td> 
    		  <td bgcolor="#efefef" valign="top"><b>Historic District</b></td> 
    		  <td height="15"><?php echo $historicDistrict; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Sewer</b></td> 
    		  <td height="15"><?php echo $sewer; ?></td> 
    		  <td height="15" valign="top"><b>Yr. Built</b></td> 
    		  <td height="15"><?php echo $yearBuilt; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td width="86" bgcolor="#efefef" valign="top"><b>Water</b></td> 
    		  <td width="61" height="15"><?php echo $water; ?></td>
     
    		  <td bgcolor="#efefef" valign="top"><b>New Const.</b></td> 
    		  <td height="15"><?php echo $newConstant; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Const.</b></td> 
    		  <td height="15"><?php echo $constant; ?></td> 
    		  <td height="15" valign="top"><b>Waterfront</b></td>
    		  <td height="15"><?php echo $waterFront; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td height="15" valign="top"><b>Ext.Feat.</b></td> 
    		  <td height="15"><?php echo $extraFeat; ?></td> 
    		  <td height="15" valign="top"><b>Waterview</b></td> 
    		  <td height="15"><?php echo $waterView; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Roofing</b></td> 
    		  <td height="15"><?php echo $roofing; ?></td> 
    		  <td height="15" valign="top"><b>Dock Type</b></td> 
    		  <td height="15"><?php echo $dock; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td height="15" valign="top"><b>Attic</b></td> 
    		  <td height="15"><?php echo $attic; ?></td> 
    		  <td height="15" valign="top"><b>City Limits</b></td> 
    		  <td height="15"><?php echo $cityLimits; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15" valign="top"><b>Basement</b></td> 
    		  <td height="15"><?php echo $basement; ?></td> 
    		  <td height="15"valign="top"><b>List Firm</b></td> 
    		  <td height="15"><?php echo $listFirm; ?></td> 
    		 </tr> 
    		 <tr bgcolor="#efefef"> 
    		  <td height="15" valign="top"><b>Lot Desc</b></td> 
    		  <td height="15"><?php echo $lotDesc; ?></td> 
    		  <td height="15" valign="top"><b>Zoning</b></td> 
    		  <td height="15"><?php echo $zoning; ?></td> 
    		 </tr> 
    		 <tr> 
    		  <td height="15"><b>Appliances:</b></td><td colspan="3"><?php echo $appliances; ?><br> 
    		  </td> 
    		 </tr>
     
    		 <tr bgcolor="#efefef"> 
    		  <td height="15"><b>Virtual Tour:</b></td><td colspan="3"<?php echo $virtualTour; ?><br> 
    		  </td> 
    		 </tr>  
    		</table>
     
    				<?php
                                    }
                                    
                                    ?>
     
     
     
    </td></tr></table>
    <SCRIPT type="text/javascript">
    <!--
    if (document.images) {
      SLIDES.image = document.images.SLIDESIMG;
      SLIDES.textid = "SLIDESTEXT";
      SLIDES.update();
    }
    //-->
    </SCRIPT>

  4. #4
    Modérateur
    Avatar de blueice
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2003
    Messages
    3 494
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2003
    Messages : 3 494
    Par défaut
    Ton "script" est en quel langage ?

    Script
    Objet microsoft
    Quand je regarde le code source de la page générée ça a l'air clean mais quand j'enregistre la page php sur mon ordinateur (qui devient donc HTML) je vois apparaitre des caractères illisibles (apparaissant sous la forme carré)..
    Tu n'enregistres pas la page php mais la page générée => HTML c'est très différent, si tu as des caractères bizarre c'est un problème d'encodage de l'appli avec laquelle tu ouvres ensuite la page HTML, si comme tu le dis le code source de la page générée s'affiche correctement.

  5. #5
    Membre éclairé
    Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2007
    Messages
    439
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2007
    Messages : 439
    Par défaut
    Le script est du PHP .
    et
    l'application s'appelle Internet Explorer.

  6. #6
    Modérateur
    Avatar de blueice
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2003
    Messages
    3 494
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2003
    Messages : 3 494
    Par défaut
    Tu édites du code HTML avec IE ?
    Si la page affiche des caractères bizarres, celà peut signifier que l'encodage dans la page HTML est absent ou diffère de celui employé au départ.

  7. #7
    Membre éclairé
    Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2007
    Messages
    439
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2007
    Messages : 439
    Par défaut
    La page HTML lue par le navigateur IE affiche un diaporama de photos qui ne marche pas (contrairement à FF et GC).
    J'enregistre la page et je l'ouvre avec Edit Plus et là je vois apparaître des caractères illisibles un peu partout dans la page , je me dis donc qu'il y a un problème.
    Par contre quand je visualise la page avec FF puis l'enregistre sur mon disque dur puis je l'ouvre avec Edit Plus là il n'y a pas ses caractères illisibles.

    J'ai essayé plusieurs encodages dont :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

  8. #8
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Par défaut
    Citation Envoyé par cotede2 Voir le message
    Quand je regarde le code source de la page générée ça a l'air clean mais quand j'enregistre la page php sur mon ordinateur (qui devient donc HTML) je vois apparaitre des caractères illisibles (apparaissant sous la forme carré)..
    C'est normal :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    	<meta http-equiv="content-type" content="text/html; charset=utf-8">
     
     
    <title>Rehoboth Beach Real Estate - Delaware Beaches Homes for Sale - SEA BOVA ASSOCIATES</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    Il faut spécifier un seul charset, ta page est encodée en UTF-8 donc vire le charset iso-8859-1.

  9. #9
    Membre éclairé
    Profil pro
    Architecte de système d’information
    Inscrit en
    Janvier 2007
    Messages
    439
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Architecte de système d’information

    Informations forums :
    Inscription : Janvier 2007
    Messages : 439
    Par défaut
    http://seabova.com/show.php?mls_id=569472&type=res

    Toujours pareil , je vais un peu nettoyer le code pour qu'il respecte les balises.

Discussions similaires

  1. Réponses: 4
    Dernier message: 03/11/2009, 12h09
  2. [PEAR][SpreadSheet_Excel_Writer] Caractères illisibles
    Par chenel80 dans le forum Bibliothèques et frameworks
    Réponses: 1
    Dernier message: 22/08/2008, 07h47
  3. [chaînes de caractères] Conversion HTML ?
    Par rozwel dans le forum Général JavaScript
    Réponses: 5
    Dernier message: 04/11/2004, 15h21

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