(PHP 6 >= 6.0.0)
unicode_set_subst_char — Set the substitution character for string conversion errors
When converting a string from or to unicode, an invalid or unconvertible character may be encountered. When the conversion error mode is set to U_CONV_ERROR_SUBST, the character that caused the error is substituted by a character set by this function. The default substitution character is ?.
The substitution character to use.
Retorna TRUE em caso de sucesso ou FALSE em falhas.
Emits a E_WARNING level error if character is invalid.
Esta função é EXPERIMENTAL. O comportamento desta função, seu nome, incluindo toda documentação pode ser modificado sem aviso em futuras versões do PHP. Esta função deve ser usada por sua própria conta e risco.