看起来像空间但不是空格的符号是什么?(不是  )


what is the symbol that looks like space, but not a space? (not a  )

我说的不是 而是另一个符号" "即使在文本区域中也看起来像" ",但那是另一个符号(按空格符号拆分字符串不会将"hello world"拆分为两个单词)。

 或下面的一个?

http://www.w3.org/TR/html4/sgml/entities.html

<!-- General Punctuation -->
<!ENTITY ensp    CDATA "&#8194;" -- en space, U+2002 ISOpub -->
<!ENTITY emsp    CDATA "&#8195;" -- em space, U+2003 ISOpub -->
<!ENTITY thinsp  CDATA "&#8201;" -- thin space, U+2009 ISOpub -->

无间断空间 U+00A0 160字符(160) 这就是你要找的。

在DOS的旧时代,char 255是一个空白字符

你可以看看 Unicode 空格字符,因为它们有很多

只需使用函数回显包含任何特殊字符rawurlencode()字符串:

echo rawurlencode("whatever string with any '05 '02 weird symbols");

并查看其代码前面带有 % 符号