Unicode Funkcje
PHP Manual

unicode_decode

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

unicode_decodeConvert a binary string into a Unicode string

Opis

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

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

Parametry

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.

Zwracane wartości

A unicode string or FALSE on failure.

Błędy/Wyjątki

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

Notatki

Ostrzeżenie

Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.

Patrz także


Unicode Funkcje
PHP Manual