汉字“我”= “%EF%BF%BD”
请问这是什么编码方式?如何转换?
我试过了,这个虽然很类似URL的编码,但不是!
“我”的URL的编码是“%E6%88%91”
这个应该是 Unicode 中的特殊字符 U+FFFD,对应 UTF-8 编码是 0xEF 0xBF 0xBD,这个字符的名字叫 replacement character,维基百科对它的解释是:
The replacement character (often a black diamond with a white question mark or an empty square box) is a symbol found in the Unicode standard at code point U+FFFD in the Specials table. It is used to indicate problems when a system is unable to render a stream of data to a correct symbol.