unicode_set_subst_char
(No version information available, might be only in CVS)
unicode_set_subst_char — Set the substitution character for string conversion errors
Description
When converting a string from or to unicode, an invalid or unconvertable 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 ?.
Parameters
- character
-
The substitution character to use.
Return Values
Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.
Errors/Exceptions
Emits a E_WARNING level error if character is invalid.
Notes
Αυτή η συνάρτηση είναι ΔΟΚΙΜΑΣΤΙΚΗ. Η συμπεριφορά της, το όνομα της και οτιδήποτε άλλο είναι τεκμηριωμένο σχετικά με αυτή την συνάρτηση μπορεί να αλλάξει χωρίς ειδοποίηση σε μελλοντικές εκδόσεις της PHP. Χρησιμοποιήστε αυτή την συνάρτηση με δικό σας ρίσκο.