Why do symbols like apostrophes and hyphens get replaced with black diamonds on my website?

前端 未结 7 1283
暖寄归人
暖寄归人 2020-12-08 13:27

A website I\'ve made has a few problems... On one of the pages, wherever there\'s an apostrophe (\') or a dash (-), the symbol gets replaced with a

7条回答
  •  渐次进展
    2020-12-08 14:04

    I experienced the same problem when I copied a text that has an apostrophe from a Word document to my HTML code.

    To resolve the issue, all I did was deleted the particular word in my HTML and typed it directly, including the apostrophe. This action nullified the original copy and paste acton and displayed the newly typed apostrophe correctly

提交回复
热议问题