unicode_encode

(PHP 5 CVS only)

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

Descrição

string unicode_encode ( unicode input, string encoding )

Atenção

Esta função não está documentada, somente a lista de argumentos está disponível.

Parâmetros

input

Its description

encoding

Its description

Valores de retornado

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

Exemplos

Exemplo 1. A unicode_encode() example

Any text that describes the purpose of t

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

O exemplo acima irá imprimir:

Use the PEAR Coding Standards

Veja também

unicode_decode()