Function utf8_strip_non_ascii
Strip out all non-7bit ASCII bytes If you need to transmit a string to system which you know can only support 7bit ASCII, you could use this function.
Package: utf8
See:
Located at vendor/joomla/string/src/phputf8/utils/ascii.php
See:
utf8_strip_non_ascii_ctrl()
Located at vendor/joomla/string/src/phputf8/utils/ascii.php
Parameters summary
string |
$str |
Return value summary
string
|
with non ASCII bytes removed |