PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

unicode_encode> <Unicode Functions
Last updated: Fri, 09 Jan 2009

view this page in

unicode_decode

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

unicode_decodeConvert a binary string into a Unicode string

Description

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

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

Parameters

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.

Return Values

A unicode string or FALSE on failure.

Errors/Exceptions

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

Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

See Also



add a note add a note User Contributed Notes
unicode_decode
There are no user contributed notes for this page.

unicode_encode> <Unicode Functions
Last updated: Fri, 09 Jan 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites