• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Sonderzeichen aus Access Tabelle ergeben ein Fragezeichen

htmltrainee

Neues Mitglied
Hallo,

ich lade eine HTML Emailvorlage durch Access und baue dann eine Tabelle ein, in dieser Tabelle sind Sonderzeichen wei das € Zeichen , dann speicher ich diese HTML Emailvorlage als HTML Datei ab und die Sonderzeichen sind dann Fragezeichen in einem schwarzen Kästchen

also ich denke es hat irgendetwas mit der Kodierung zu tun.
 
Werbung:
mein HTML Datei ist auf UTF-8 umgestellt und ich habe auch die Kodierungseinstellungen in NotePad++ auf UTF 8 gestellt , auch die Funktion zum erstellen der HTML Datei dient stellt den Text auf UTF 8 um

Dim fs As Object
Dim a As Object
Dim dir As String
dir = Application.CurrentProject.path

Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile(dir + "\email-kopie.html", True) <------ stellt UTF 8 Kodierung ein
a.WriteLine (html)
a.Close
 
Werbung:
Sind die Zeichen auch in Notepadd++ kaputt, wenn du mal so eine HTML-Datei lädst?
 
Nein sind sie nicht es werden nur die Zeichen als Fragezeichen angezeigt die über Access hinzugefügt worden sind ich habe das ganze mit einer anderen Vorlage probiert und dort hat es ohne Fragezeichen funktioniert, nur hat ein Adobe Programm diese Vorlage erstellt und es befinden sich viele CSS Befehle darin die ich nicht kenne
 
Vielleicht findet ja jemand eine stelle mit einer Kodierungsanweisung

<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom: 0.001pt;
font-size:12.0pt;
}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;
mso-fareast-language:EN-US;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma",sans-serif;}
span.E-MailFormatvorlage19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@Page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
#mitte {
margin-top: 20px;
margin-bottom: 20px;
}
.socialnetwork {
margin-right: 3.5px;



}
/* insert_css */

--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<o:colormru v:ext="edit" colors="#eee,#eff" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
 
Werbung:
Zurück
Oben