' html 4.01 email newsletter 中的符号变成不同的符号,怎么办?

' symbol in html 4.01 email newsletter turn into different symbols, what to do?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
    
<title>Butiqs newsletter</title>

然后是一些内部css,第一个table中的以下文字:

<!--Tekst.-->
<table id="inleiding" width="600" cellpadding="0" cellspacing="0">
<tr height="30"><td></td></tr>

   <tr>
     <td width="20"></td>
       <td><font size="5">Hi yara,</font></td>
   <td width="20"></td>

</tr>
<tr height="10"><td></td></tr>
 <tr>
  <td width="20"></td>
   <td><font>We are excited to have you as part of our Butiqs’ family and we’d like to keep you in the loop of our progress. So, without further ado, here’s where we are now, 5 months after we kickstarted the project…
</font></td>
  <td width="26"></td>

  </tr>
  <tr height="20"><td></td></tr>
</table>

奇怪的是,我的文字完全正常。只有当我在浏览器中实时预览时,我才会在文本中看到奇怪的符号。

Image of the weird symbols

每次我在 html 中使用 ' 符号时都会发生这种情况。问题是什么?即使我将其设为正常的 html 文档类型,问题仍然存在。

有人可以帮助我吗?

这是你的编码问题。

您可以尝试通过在 <head>:

中添加这个来解决这个问题
<meta charset="utf-8" /> 

注意:这适用于 HTML 5 个文档。

Read more here

对于 HTML 4 个文档,使用:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Read more here

对于 Html 4.01 你需要把 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 在你的头标签中。