mb_substitute_character

Description

Specifies a substitution character when input character encoding is invalid
or character code does not exist in output character
encoding. Invalid characters may be substituted NULL (no output),
string or integer value (Unicode character code value).