unicode_encode

(PHP 5 CVS only)

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

Description

string unicode_encode ( unicode input, string encoding )

Waarschuwing

Deze functie is op het moment niet gedocumenteerd, alleen de lijst met argumenten is beschikbaar.

Parameters

input

Its description

encoding

Its description

Return Values

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

Voorbeelden

Voorbeeld 1. A unicode_encode() example

Any text that describes the purpose of t

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

Het resultaat van dit script is als volgt:

Use the PEAR Coding Standards

Zie ook

unicode_decode()