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
cubrid_client_encoding(3) - php
iconv_strrpos(3) - php
iconv_substr(3) - php
imap_mime_header_decode(3) - php
mysqli_set_charset(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update