iconv_set_encoding(3) php man page | unix.com

Man Page: iconv_set_encoding

Operating Environment: php

Section: 3

ICONV_SET_ENCODING(3)							 1						     ICONV_SET_ENCODING(3)

iconv_set_encoding - Set current setting for character encoding conversion

SYNOPSIS
bool iconv_set_encoding (string $type, string $charset)
DESCRIPTION
Changes the value of the internal configuration variable specified by $type to $charset.
PARAMETERS
o $type - The value of $type can be any one of these: oinput_encoding ooutput_encoding ointernal_encoding o $charset - The character set.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 iconv_set_encoding(3) example <?php iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1"); ?>
SEE ALSO
iconv_get_encoding(3), ob_iconv_handler(3). PHP Documentation Group ICONV_SET_ENCODING(3)
Related Man Pages
iconv_strrpos(3) - php
mb_detect_order(3) - php
mysqli_set_charset(3) - php
ob_iconv_handler(3) - php
xml_parser_create_ns(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation