问题描述
这是什么字符:â\u0080\u0099?
What is this character: â\u0080\u0099 ?
这应该是单引号或单引号。
This should be an apostrophe or a single quote.
如何将其(使用Ruby)转换为简单的单引号'
或将其正确显示在网页中作为单引号?
How can I convert it (using Ruby) to a simple, single quote 'or display it properly in a web page as a single quote?
谢谢
推荐答案
这是一个印刷正确的撇号,更确切地说是右单引号'(U + 2019)( '),经过一些不正确的字符代码转换或解释之后。似乎是该字符的UTF-8编码形式(三个字节,0xE2 0x80 0x99)被错误地解释为ISO-8859-1编码数据。
It is a typographically correct apostrophe, more exactly RIGHT SINGLE QUOTATION MARK' (U+2019) (’), after some munging in incorrect character code conversions or interpretations. It seems to be an UTF-8 encoded form of that character (three bytes, 0xE2 0x80 0x99) incorrectly interpreted as ISO-8859-1 encoded data.
这篇关于这个角色是什么? 000080\u0099的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!