PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Image Processing and Generation> <Unicode Функции
Last updated: Fri, 15 Aug 2008

view this page in

unicode_set_subst_char

(No version information available, might be only in CVS)

unicode_set_subst_charSet the substitution character for string conversion errors

Описание

bool unicode_set_subst_char ( unicode $character )

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 ?.

Список параметров

character

The substitution character to use.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Errors/Exceptions

Emits a E_WARNING level error if character is invalid.

Примечания

Внимание

Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.



add a note add a note User Contributed Notes
unicode_set_subst_char
There are no user contributed notes for this page.

Image Processing and Generation> <Unicode Функции
Last updated: Fri, 15 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites