开发者

Is there a stringprep implementation for PHP?

开发者 https://www.devze.com 2023-02-08 12:30 出处:网络
The question is simple: Is there a Unicode stringprep implementation available for use in PHP applications?

The question is simple: Is there a Unicode stringprep implementation available for use in PHP applications?

PHP 5.3 comes with some IDN support but it can only convert between UTF-8 and Punycode. GNU libidn says something abou开发者_StackOverflowt stringprep, but there's nothing but unfinished and abandoned libidn bindings for PHP. I'm looking for a solution that either comes with PHP and is widely available or that is implemented in PHP so that I can include it in my application.


PECL IDN doesn't finished or abandoned, however if you need an alternative solution

try the PHP IDNA ext: http://www.xarg.org/project/php-idna/

0

精彩评论

暂无评论...
验证码 换一张
取 消