Facebook 分享显示奇怪的字符

发布于 2024-09-15 07:15:37 字数 267 浏览 3 评论 0原文

我刚刚在我的网站上添加了一个 facebook 共享图标,当我点击按钮时,facebook 弹出窗口会显示奇怪的特殊字符,

该字符不会在此处显示,但它是一个带有 00 超过 97 的正方形

,而不是单引号,

我尝试更改引号到特殊字符 ’ 但这不起作用,

也尝试弄乱字符集,但每次需要显示引号时我都需要使用特殊字符。

我的网站主要是基于文本的,所以我不想参与其中。

有什么建议吗?

I just added a facebook share icon to my website, when I hit the button the facebook popup displays weird special characters

the character won't display here but it's a square with 00 over 97

for example instead of a single quote

I tried changing the quote to a the special character but this doesnt' work either

also tried messing with the charset, but then i'd need to use a special character everytime i need to display a quote.

My site is mostly text-based so I don't want to get involved in that.

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

混吃等死 2024-09-22 07:15:37
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

将此元标记放入您的 HTML 页面中,facebook 使用 UTF-8。

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

Put this meta tag in you HTML page, facebook uses UTF-8.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文