html - HTML 中的拉丁十字符号在 iPhone 上显示为表情符号

标签 html ios iphone html-entities html-encode

我在 html 页面上使用拉丁十字符号。在桌面上它显示为“✝”,但在 iPhone 上它显示为表情符号。

这里是示例代码

<p>I will display &#10013;</p>

这里是iphone的截图 Dagger icon

有没有办法在所有设备上将拉丁十字符号显示为“✝”?

最佳答案

试试这个

<p>I will display &#10013;&#xFE0E;</p>

U+FE0E 是一个“变体选择器”,表示首选文本呈现(而不是表情符号)。

关于html - HTML 中的拉丁十字符号在 iPhone 上显示为表情符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37920962/

相关文章:

iPhone - NSWeekCalendarUnit 和 NSWeekdayCalendarUnit 之间有什么区别?

python - 主屏幕上 iPhone Web 应用程序上的 Google Appengine 身份验证

html - CSS 似乎在我的 HTML 文件中不起作用。怎么会?

javascript - 具有 100% 高度的正文和 html 不会随子 div 展开

ios - 在 UITableView 中快速选择单元格时如何更改按钮名称?

objective-c - dispatch_async 慢于 PerformSelectorInBackground :?

html - 在浏览器中实时预览

javascript - 为什么 Google Chrome 浏览器不重新加载我的脚本?

ios - +[同步更改 :inEntityNamed:predicate:parent:inContext:dataStack:completion:] 中断言失败

iphone - 如何在 UITableView 中显示多列?