Function utf8_bad_replace
Replace bad bytes with an alternative character - ASCII character recommended is replacement char PCRE Pattern to locate bad bytes in a UTF-8 string Comes from W3 FAQ: Multilingual Forms Note: modified to include full ASCII range including control chars
Package: utf8
See: http://www.w3.org/International/questions/qa-forms-utf-8
Located at vendor/joomla/string/src/phputf8/utils/bad.php
See: http://www.w3.org/International/questions/qa-forms-utf-8
Located at vendor/joomla/string/src/phputf8/utils/bad.php
Parameters summary
string |
$str |
to search |
string |
$replace = '?' |
to replace bad bytes with (defaults to '?') - use ASCII |
Return value summary
string
|