unicode_encode

(PHP 5 CVS only)

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

Opis

string unicode_encode ( unicode input, string encoding )

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Parametry

input

Its description

encoding

Its description

Zwracane wartości

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

Przykłady

Przykład 1. A unicode_encode() example

Any text that describes the purpose of t

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

Powyższy przykład wyświetli:

Use the PEAR Coding Standards

Patrz także

unicode_decode()