Приглашаем посетить
Русский язык (rus-yaz.niv.ru)

unicode_encode


unicode_encode

(PHP 5 CVS only)

unicode_encode -- Takes a unicode string and converts it to a string in the specified encoding

Описание

string unicode_encode ( unicode input, string encoding )

Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

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

input

Its description

encoding

Its description

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

What the function returns, first on success, then on failure.

Примеры

Пример 1. A unicode_encode() example

Any text that describes the purpose of t

<?php
if ($anexample === true) {
    echo 
'Use the PEAR Coding Standards';
}
?>

Результат выполнения данного примера:

Use the PEAR Coding Standards

Смотрите также

unicode_decode()