Bonjour,
Je fais mes premiers pas dans le HTML car j'en ai besoin pour une application qui doit envoyer des mails "jolis" aux clients.
Le problème que je rencontre c'est que les accents n'apparaissent pas normalement - Ex: Les diff鲥ntes
Ci-dessous un bout du code
J'ai essayé diverses possibilités (Changement du Charset en UTF-8, conversion en UTF-8 des caractères accents, et autres exemples trouvés sur le forum)
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.0 Transitional//FR" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/TR/html5/"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <style type="text/css"> #CMNHaut { width:600px; height:25px; color:#FFFFFF; background-color:#000000; } #CMNLigne { width:600px; height:25px; color:#FFFFFF; background-color:#000000; } #Col100px { float:left; width:100px; height:25px; color:#FFFFFF; background-color:#000000;} #ArtNom { width:500px; height:25px; color:#FFFFFF; background-color:#000000;} #CmdFourn { float:left; width:300px; height:25px; color:#FFFFFF; background-color:#000000;} #Lgn100px {float:left; width:100px; height:25px; background-color:#FFCC00;} #LgnArtNom {float:left; width:500px; height:25px; background-color:#FFCC00; } #LgnFourn { float:left; width:300px; height:25px; background-color:#FFCC00; } </style> <title>Rapport du @DATEJOUR@</title> </head> <body> <img src="cid:logo-IS.gif" /> <p>Bonjour @MAGASIN@</p></br> </br> <p>Les différentes listes ci-dessous ne seront disponible qu'après réplication de votre base de données</p> </br> <p><b><u>Liste des nouveaux articles générés</u></b></p> <table cellspacing="0" cellpadding="1" border="0"> <tr> <td id="Col100px">Chrono</td> <td id="ArtNom">Nom de l'article</td> </tr> @NEWARTICLES@ </table> </br>
Mais rien n'y fait dans Outlook 2007 j'ai toujours un caractère chinois(Japonais ?)
Merci
Partager