我正在通过活动监视器做一个电子邮件活动,由于某种原因,当通过outlook版本打开时,在最底部有一排又一排的问号。不会在我的电脑上发生,但我的朋友们会。图片在下面,当前代码也在下面
Ôªø<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Casewise Newletter Template</title>
<style type="text/css">
a { color:#d13b35; text-decoration:none; }
table { font-family:Arial, Helvetica, sans-serif; }
img { border:none; }
img.right { border:none; margin:0 0 10px 10px; }
table.nav img { display:block; }
p.smallprint { text-align:center; color:#666666; font-size:11px; }
p.smallprint span { color:#d13b35; }
p.smallprint a { color:#d13b35; text-decoration:none; }
td.date { font-size:20px; color:#999999; text-align:right; text-transform:uppercase; }
td.date span { color:#CCCCCC; }
td.date em { color:#004489; font-style:normal; }
td.headlineText { font-size:18px; color:#FFFFFF; }
table.story h2 { margin:0 0 0 0; font-size:20px; font-weight:normal; color:#004489; }
table.story p { font-size:12px; color:#333333; }
table.story p a { color:#a80000; text-decoration:none; }
table.story p a:hover { text-decoration:underlined; }
td.footerPanel h2 { font-weight:normal; font-size:18px; margin:0; color:#FFFFFF; }
td.footerPanel p { font-size:12px; margin:10px 0 10px 0; color:#CCCCCC; }
</style>
</head>
<body marginheight="0" topmargin="0" marginwidth="0" leftmargin="0" bgcolor="#ebebeb">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ebebeb">
  <tr>
    <td>
        <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td height="46">
                <p class="smallprint">Don't miss our emails, add <span>cwmarketing@casewise.com</span> to your address book.<br>
                    <forwardtoafriend>Forward to a Friend</forwardtoafriend>. Email look funny? <webversion>Click here</webversion> to launch in a browser</p></td>
            </tr>
                <td><img src="/images/content-top.png" width="600" height="19" alt="" style="display:block;" /></td>
            <tr>
            </tr><tr>
                <td>
                    <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
                        <tr>
                            <td width="20"><img src="/images/spacer.png" width="20" height="1" /></td>
                            <td width="560" class="content">
                            <repeater>
                            <layout label='Main Feature'>                           
                                <table width="560" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td><img editable="true" src="/images/header-image.png" width="560" label='Hero Image' /></td>
                                    </tr>
                                    <tr>
                                        <td valign="top">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Story Image Right'>  
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="390" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                        <td><img src="/images/spacer.png" width="20" height="1" /></td>
                                        <td valign="top"><img editable="true" src="/images/item-image.png" width="150" label='Story Image' /></td>
                                    </tr>
                                    <tr>
                                        <td><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Story Image Left'>   
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td valign="top"><img editable="true" src="/images/item-image.png" width="150" label='Story Image' /></td>
                                        <td><img src="/images/spacer.png" width="20" height="1" /></td>
                                        <td width="390" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Content with Large Image Right'> 
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="560" valign="top">
                                            <img editable="true" src="/images/item-image.png" width="350" label='Story Image' align="right" class="right" />
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Story No Image'> 
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="390" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Two Columns No Image'>   
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="270" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                        <td width="20" valign="top"><img src="/images/spacer.png" width="20" height="1" /></td>
                                        <td width="270" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Two Columns Image'>  
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="270" valign="top">
                                            <img editable="true" src="/images/two-col-image.png" width="270" label='Story Image' />
                                        </td>
                                        <td width="20" valign="top"><img src="/images/spacer.png" width="20" height="1" /></td>
                                        <td width="270" valign="top">
                                            <img editable="true" src="/images/two-col-image.png" width="270" label='Story Image' />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><img src="/images/spacer.png" width="1" height="10" /></td>
                                    </tr>
                                    <tr>
                                        <td width="270" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                        <td width="20" valign="top"><img src="/images/spacer.png" width="20" height="1" /></td>
                                        <td width="270" valign="top">
                                            <h2><singleline label='Story Headline'>Story Headline here...</singleline></h2>
                                            <multiline label='Story Text'>Story Text here...</multiline>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Banner Advert 560x100'>  
                                <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                    <tr>
                                        <td width="560" valign="top">
                                            <img editable="true" src="/images/banner-image.png" width="560" label='Banner Advert' />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><img src="/images/spacer.png" width="1" height="20" /></td>
                                    </tr>
                                </table>
                            </layout>
                            <layout label='Register Buttons'>
                            <table width="560" border="0" cellspacing="0" cellpadding="0" class="story">
                                <tr>
                                    <td width="270" valign="top">
                                        <img editable="true" src="/images/webinar-reg-now.png" width="270" label='Register Now' alt="Register Now!" />
                                    </td>
                                    <td width="20"><img editable="true" src="/images/spacer.png" width="20" /></td>
                                    <td width="270">
                                        <forwardtoafriend><img src="/images/web-raf.png" width="270" label='Forward to a friend' alt="Forward to a friend" /></forwardtoafriend>
                                    </td>
                                </tr>
<td width="270">
                                <tr>
                                    <td colspan="3"><img src="/images/spacer.png" width="1" height="20" /></td>
                                </tr>
                            </td></table>
                            </layout>
<layout label='Social Buttons'>
<div id="ÔøΩfooterÔøΩ" align="middle">
<blog><a href="http://blog.casewise.com/" target="_blank"><img src="/images/blog.png" width="25" height="25" alt="Blog" /></a></blog>
<twitter><a href=" https://twitter.com/Casewise" target="_blank"><img src="/images/twitter.png" width="25" height="25" alt="Twitter" /></a></twitter>
<linkedin><a href="https://www.linkedin.com/company/casewise" target="_blank"><img src="/images/linkedin.png" width="25" height="25" alt="LinkedIn" /></a></linkedin>
<youtube><a href="http://www.youtube.com/user/CasewiseLimited?blend=1&ob=5" target="_blank"><img src="/images/youtube.png" width="25" height="25" alt="YouTube" /></a></youtube>
</div>
<div id="ÔøΩWebsiteÔøΩ" align="middle">
<website><a href="http://www.casewise.com" target="_blank"><img editable="true" src="/images/website.png" width="560" alt="Website" /></a></website>
</div>
</layout>
                            </repeater>
                            </td><td width="20"><img src="/images/spacer.png" width="20" height="1" /></td>
                        </tr>
                    </table>
            </td></tr>
            <td><img src="/images/content-bottom.png" width="600" height="19" alt="" style="display:block;" /></td>
            <tr>
                <td>
                    <p class="smallprint">You have received this email because <span>[email]</span> is registered with us.<br>
                        If you would no longer like to receive future emails of this nature from Casewise, please opt-out by <unsubscribe>clicking here</unsubscribe></p>
                </td>
                    </tr>
                    </table>    
 </td></tr></table>
</body>
</html>发布于 2014-08-07 00:09:58
您是否使用mysql来拉取数据?如果是这样,php和mysql的字符编码冲突。尝试使用utf-8
发布于 2014-08-07 00:16:04
看起来您是在混合和匹配代码页数据,而outlook只是试图遵循文件规范,而不是所提供的编码。
根据您的粘贴,数据采用UTF-8格式
Ôªø<!DOCTYPE而您指定的代码页为:
charset=iso-8859-1这个问题似乎与您的html底部附近的以下内容有关:
ÔøΩ在UTF-8显示中,该字符将显示为:
�这很可能就是你朋友所看到的。
这通常发生在呈现未知字符时(例如,在指定8位代码页时尝试呈现非ANSI字符)。
由于这个特定的原因,HTML标准对常见的非标准字符使用特殊的字符代码(例如,Yen是&(元);或者Euro是Euro(Euro))。
作为使用非标准字符的一些困难的示例,windows中的省略号是0x0133。如果您查看标准的8859-1字符映射,133是未定义的。这意味着它在不同的操作系统上可能有不同的效果(有些会显示为省略号,有些会显示为省略号,如果加载的特定字体有字符定义,则会呈现不同的字符,或者更典型的是,它只是呈现为未知字符,这就是您所看到的)。
但是,如果您使用…你得到了…
真正的问题是,看看你的输出是什么字符,你试图使用页脚和网站。我假设这两个人的ID中都不应该有特殊字符。
我建议修复它们,并将您的电子邮件切换为UTF-8,然后重试。
https://stackoverflow.com/questions/25164497
复制相似问题