Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
ob_iconv_handler
(PHP 4 >= 4.0.5, PHP 5)
ob_iconv_handler — Convert character encoding as output buffer handler
Описание
string ob_iconv_handler ( string $contents , int $status )Converts the string encoded in internal_encoding to output_encoding.
internal_encoding and output_encoding should be defined in the php.ini file or in iconv_set_encoding().
Список параметров
Смотрите также
ob_start() for information about this handler parameters.Возвращаемые значения
Смотрите также
ob_start() for information about this handler return values.Примеры
Пример #1 ob_iconv_handler() example:
iconv_set_encoding("internal_encoding", "UTF-8");
iconv_set_encoding("output_encoding", "ISO-8859-1");
ob_start("ob_iconv_handler"); // start output buffering
Смотрите также
- iconv_get_encoding() - Получает текущее значение настроек преобразования кодировок
- iconv_set_encoding() - Устанавливает значение одной из внутренних переменных
- output-control functions
Описание на ru2.php.net
Описание на php.ru