tchwork / utf8

Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP
Apache License 2.0
627 stars 50 forks source link

Empty string for arabic #69

Closed faridmovsumov closed 4 years ago

faridmovsumov commented 6 years ago

Example String: فارحان ةيوب Code: str_slug(\Patchwork\Utf8::toAscii($string))

It will return empty string.

nicolas-grekas commented 4 years ago

Please use https://packagist.org/packages/symfony/string instead, with the intl extension.