F.16. Iconv Library

FunctionReturnsDescription
iconv(tring in_charset, string out_charset, string str)
stringReturns str converted to the out_charset character set.
ob_iconv_handler (string contents, int status)
 Returns str in output buffer converted to the iconv.output_encoding character set.
iconv_get_encoding ([string type])
mixedGets internal encoding and output encoding for ob_iconv_handler().
iconv_set_encoding (string type, string charset)
boolSets internal encoding and output encoding for ob_iconv_handler().

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.