Forum und email

unicode_decode

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

unicode_decode — Convert a binary string into a Unicode string

Descrizione

unicode unicode_decode ( string $input , string $encoding [, int $errmode ] )

Convert a binary string encoded in encoding to a unicode string.

Elenco dei parametri

input

Try string that is converted.

encoding

The encoding of input .

errmode

Conversion error mode. This parameter determines the action to take when the converter cannot convert a character. For a list of available modes, refer to unicode_set_error_mode(). If the parameter is not set, the global error mode is used.

Valori restituiti

A unicode string or FALSE on failure.

Errori/Eccezioni

Emits a E_WARNING level error if a converter cannot be created for the desired encoding .

Note

Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.