删除此符号的代码是什么?在 html 中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17493601/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 10:49:17  来源:igfitidea点击:

what is the code to remove this symbol- ? in html

html

提问by Billy S. Anthony III

does any one know why that symbol is there next to the copyright? R&W Brokerage Inc. ?? 2013 does anyone know how to get rid of it this is what i have it saying and then on the web page that little symbol comes up. R&W Brokerage Inc. ? 2013

有谁知道为什么版权旁边有那个符号?R&W 经纪公司 ?? 2013 年有没有人知道如何摆脱它,这就是我所说的,然后在网页上出现了那个小符号。R&W 经纪公司?2013年

回答by JAB

That happens because the page isn't being displayed in UTF-8 encoding while your HTML source is encoded as such (but probably lacks the byte order mark that indicates UTF-8 encoding). Put either the HTML4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">or the HTML5 <meta charset="UTF-8">inside the <head>element.

发生这种情况是因为页面没有以 UTF-8 编码显示,而您的 HTML 源代码是这样编码的(但可能缺少指示 UTF-8 编码的字节顺序标记)。将 HTML4<meta http-equiv="Content-type" content="text/html;charset=UTF-8">或 HTML5<meta charset="UTF-8">放入<head>元素中。

(The reason I know that specifically is the issue is that I just had the same issue, albeit with a Python script being opened in a text editor that doesn't auto-detect that the encoding is UTF-8 if the BOM or a file encoding directive isn't included.)

(我知道具体问题的原因是我刚刚遇到了同样的问题,尽管在文本编辑器中打开了一个 Python 脚本,如果 BOM 或文件,它不会自动检测编码是 UTF-8不包括编码指令。)

回答by user

Did you use the © code ? Can you show us the source of your code ? Did you try to change the encoding in your browser ? try with firefox to change the encoding, if changing the encoding fixes the displaying of the copyright caracter, that means that you have a encoding problem ..

您是否使用了 © 代码?你能告诉我们你的代码的来源吗?您是否尝试更改浏览器中的编码?尝试使用firefox更改编码,如果更改编码修复了版权字符的显示,则表示您有编码问题..

回答by ajdigregorio

You might have an encoding problem. check out THISanswer that was posted a few months ago..

您可能有编码问题。查看几个月前发布的这个答案..