PHP 中 "Native Unicode Support" 的实际含义是什么?为什么 PHP 即使在 PHP 7 版本中也不支持 "Native Unicode Support"?
What does actually mean by "Native Unicode Support" in PHP and why PHP does not support "Native Unicode Support" even in PHP 7 releases?
P.S。 : 我在我的机器上使用 PHP 7.2.2 Windows 10 家庭单一语言版。我正在使用已安装的 XAMPP v3.2.2
中的 PHP
考虑一下我对 PHP 7 的所有疑虑。
请查看 Strings page of PHP Manual 中的以下文字:
A string is series of characters, where a character is the same as a
byte. This means that PHP only supports a 256-character set, and hence
does not offer native Unicode support.
上面的文字在我脑海中提出了很多问题,如下所示:
- “256 字符集” 在此处 PHP 的上下文中的实际含义是什么?这个所谓的 256 字符集 涉及哪 256 个字符? “256 字符集” 在 PHP 上下文中的正式名称是什么?
- "Native Unicode Support"的实际含义是什么?
- 我听说被遗弃的 PHP 6 版本即将合并 "Native Unicode Support" 但不知何故它从未被释放并最终被放弃。所以,我预计 PHP 7 将包含 "Native Unicode Support" 但手册说它仍然不支持 PHP 7?为什么会这样?
- PHP 如何在 PHP 7 个版本中克服这个缺点?
- 能否在支持多种语言的PHP中创建网站,尤其是印度语,因为PHP没有"Native Unicode Support"?
- 表示 Unicode characters set.
的前 256 个(在 1 114 112 个可能的字符中;17 x 65 536)个字符
- 本地字母,例如 ą、č 等
- 本机字母放在 Unicode 集的末尾 256 个字符位置之后,所以这就是 PHP 不支持的原因。
P.S。 : 我在我的机器上使用 PHP 7.2.2 Windows 10 家庭单一语言版。我正在使用已安装的 XAMPP v3.2.2
中的 PHP考虑一下我对 PHP 7 的所有疑虑。
请查看 Strings page of PHP Manual 中的以下文字:
A string is series of characters, where a character is the same as a byte. This means that PHP only supports a 256-character set, and hence does not offer native Unicode support.
上面的文字在我脑海中提出了很多问题,如下所示:
- “256 字符集” 在此处 PHP 的上下文中的实际含义是什么?这个所谓的 256 字符集 涉及哪 256 个字符? “256 字符集” 在 PHP 上下文中的正式名称是什么?
- "Native Unicode Support"的实际含义是什么?
- 我听说被遗弃的 PHP 6 版本即将合并 "Native Unicode Support" 但不知何故它从未被释放并最终被放弃。所以,我预计 PHP 7 将包含 "Native Unicode Support" 但手册说它仍然不支持 PHP 7?为什么会这样?
- PHP 如何在 PHP 7 个版本中克服这个缺点?
- 能否在支持多种语言的PHP中创建网站,尤其是印度语,因为PHP没有"Native Unicode Support"?
- 表示 Unicode characters set. 的前 256 个(在 1 114 112 个可能的字符中;17 x 65 536)个字符
- 本地字母,例如 ą、č 等
- 本机字母放在 Unicode 集的末尾 256 个字符位置之后,所以这就是 PHP 不支持的原因。