fb_utf8ize

Sanitize a string to make sure it's legal UTF-8 by stripping off any characters that are not properly encoded

function fb_utf8ize( inout mixed $input, ): bool; 

Parameters

  • inout mixed $input - What string to sanitize.

Returns

  • bool - - Sanitized string.