Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个字符是什么:â\u0080\u0099?
这应该是撇号或单引号。
如何将它(使用 Ruby)转换为简单的单引号 ' 或在网页中正确显示为单引号?
谢谢
这是一个印刷上正确的撇号,更准确地说是 RIGHT SINGLE QUOTATION MARK' (U+2019) ('),经过一些不正确的字符代码转换或解释。它似乎是该字符的 UTF-8 编码形式(三个字节,0xE2 0x80 0x99)被错误地解释为 ISO-8859-1 编码数据。