html5 元字符集-utf-8 不工作

html5 meta charset-utf-8 not working

我正在使用这个元数据。

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

我用过这段文字:

<p>Vignerons de père en fils depuis 1847 notre Maison se situe au cœur du vignoble champenois, à quelques kilomètres d’Epernay sur la commune de Moussy.</p>

显示我的文字:

自 1847 年以来父子相传的葡萄种植者,我们的房子位于香槟葡萄园的中心,距离穆西公社的艾培涅几公里。

not working charset="UTF-8".

需要在开发和部署的所有阶段确保正确的编码,包括:

  1. 文本编辑器或IDE(检查默认编码是什么)
  2. 源代码控制(检查是否存储了正确的编码)
  3. 服务器(检查文件系统的编码是否正确)
  4. 网络服务器(检查网络服务器是否使用正确的编码)

它发生了。它也发生在我身上。你应该做什么 is:1) 在记事本中打开你的文件(.aspx 或 php 或 html 或其他。)并保存它,并从 save-file-dialog 指定 UTF-8 -盒子。问题将得到解决