timwhitlock/php-unicode

该软件包已被废弃,不再维护。未建议替代软件包。

Unicode 工具

1.0 2014-11-22 14:47 UTC

This package is auto-updated.

Last update: 2022-02-01 12:41:51 UTC


README

PHP 7 现已支持原生的 Unicode。

php-unicode

用于在 PHP 中处理 Unicode 字符的工具。

以下示例打印出从代码点 U+2714 的多字节勾号。

   require('u.php');  
   header('Content-Type: text/html; charset=utf8', true );  
   echo u('\u2714');  

有关进一步文档,请参阅测试。