unicode_encode

(PHP 5 CVS only)

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

Leírás

string unicode_encode ( unicode input, string encoding )

Figyelem

Ez a függvény jelenleg nincs dokumentálva, csak a paraméterek listája található itt.

Paraméterek

input

Its description

encoding

Its description

Visszatérési értékek

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

Példák

Példa 1. A unicode_encode() example

Any text that describes the purpose of t

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

A fenti példa a következő kimenetet adja:

Use the PEAR Coding Standards

Lásd még

unicode_decode()