智能引号被错误编码的常见方式有哪些?
当智能引号以一种编码保存然后使用不同的编码呈现/查看时,会出现问题。当渲染不正确时,智能引号会以哪些方式出现?
我正在尝试解决您看到不正确的字符编码的问题,然后可以说:“哦,那些应该是智能引号。”
Smart quotes cause problems when they are saved in one encoding and then rendered/viewed using a different encoding. What are some ways that smart quotes will appear when rendered incorrectly?
I'm trying to solve the problem where you see an incorrect character encoding and can then say, "Oh, those should be smart quotes."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最常见的编码混合可能是 UTF-8 与 ANSI/Latin1。
“ ' ” 的 ANSI/Latin1 编码为 [93] [91] [92] [94] 十六进制。如果解释为 UTF-8,这些字节很可能被视为无效字符,并可能显示为带框的问号。
“ ' ” 的 UTF-8 编码为 [E2 80 9C] [E2 80 98] [E2 80 99] [E2 80 9D] 十六进制。如果解释为 ANSI/Latin1,这些字节将显示为“‘‘’”。
The most common encoding mixup is probably UTF-8 versus ANSI/Latin1.
The ANSI/Latin1 encoding of “ ‘ ’ ” is [93] [91] [92] [94] hexadecimal. If interpreted as UTF-8, these bytes will most likely be treated as invalid characters and may appear as boxed question marks.
The UTF-8 encoding of “ ‘ ’ ” is [E2 80 9C] [E2 80 98] [E2 80 99] [E2 80 9D] hexadecimal. If interpreted as ANSI/Latin1, these bytes will appear as “ ‘ ’ â€.